diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-26 08:28:26 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-04-26 08:28:26 +0100 |
commit | e90d8f45d7133270c26c6cb8be7403966396ffbe (patch) | |
tree | 94f13a2bc3cc9a9a97fbdf98216ed9093633de48 | |
parent | 03371bdd04e25960149946ff7e8b9d5e921b6dc3 (diff) | |
download | termo-e90d8f45d7133270c26c6cb8be7403966396ffbe.tar.gz termo-e90d8f45d7133270c26c6cb8be7403966396ffbe.tar.xz termo-e90d8f45d7133270c26c6cb8be7403966396ffbe.zip |
demo.c needs to enable CTRLC flag to shut down mouse mode on exit
-rw-r--r-- | demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ int main(int argc, char *argv[]) } } - tk = termkey_new(0, TERMKEY_FLAG_SPACESYMBOL); + tk = termkey_new(0, TERMKEY_FLAG_SPACESYMBOL|TERMKEY_FLAG_CTRLC); if(!tk) { fprintf(stderr, "Cannot allocate termkey instance\n"); |