aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-23 22:17:25 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2011-03-23 22:17:25 +0000
commita71f68dd5718a77d5a97fc6d8e2fcd816657bb3b (patch)
tree23b61e44cb9f3d4eed92a00d3c0e53b375d5121e /termkey.c
parentba0c32e8d84925f88a8af540ce08b2dccbb52c25 (diff)
downloadtermo-a71f68dd5718a77d5a97fc6d8e2fcd816657bb3b.tar.gz
termo-a71f68dd5718a77d5a97fc6d8e2fcd816657bb3b.tar.xz
termo-a71f68dd5718a77d5a97fc6d8e2fcd816657bb3b.zip
Interpret space as Unicode by default, add a flag to make it symbolic instead
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey.c b/termkey.c
index add7a53..6b8b8ee 100644
--- a/termkey.c
+++ b/termkey.c
@@ -447,7 +447,7 @@ static void emit_codepoint(TermKey *tk, long codepoint, TermKeyKey *key)
key->type = TERMKEY_TYPE_KEYSYM;
}
}
- else if(codepoint == 0x20 && !(tk->flags & TERMKEY_FLAG_NOINTERPRET)) {
+ else if(codepoint == 0x20 && (tk->flags & TERMKEY_FLAG_SPACESYMBOL)) {
// ASCII space
key->type = TERMKEY_TYPE_KEYSYM;
key->code.sym = TERMKEY_SYM_SPACE;