demo.c needs to enable CTRLC flag to shut down mouse mode on exit

This commit is contained in:
Paul LeoNerd Evans 2011-04-26 08:28:26 +01:00
parent 03371bdd04
commit e90d8f45d7
1 changed files with 1 additions and 1 deletions

2
demo.c
View File

@ -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");