aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-26 08:28:26 +0100
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-04-26 08:28:26 +0100
commite90d8f45d7133270c26c6cb8be7403966396ffbe (patch)
tree94f13a2bc3cc9a9a97fbdf98216ed9093633de48
parent03371bdd04e25960149946ff7e8b9d5e921b6dc3 (diff)
downloadtermo-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demo.c b/demo.c
index 4df859a..de3f511 100644
--- a/demo.c
+++ b/demo.c
@@ -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");