aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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");