From e90d8f45d7133270c26c6cb8be7403966396ffbe Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Tue, 26 Apr 2011 08:28:26 +0100 Subject: demo.c needs to enable CTRLC flag to shut down mouse mode on exit --- demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3-70-g09d2