Interpret space as Unicode by default, add a flag to make it symbolic instead

This commit is contained in:
Paul LeoNerd Evans
2011-03-23 22:17:25 +00:00
parent ba0c32e8d8
commit a71f68dd57
4 changed files with 7 additions and 3 deletions

2
demo.c
View File

@@ -30,7 +30,7 @@ int main(int argc, char *argv[])
}
}
tk = termkey_new(0, 0);
tk = termkey_new(0, TERMKEY_FLAG_SPACESYMBOL);
if(!tk) {
fprintf(stderr, "Cannot allocate termkey instance\n");