From a71f68dd5718a77d5a97fc6d8e2fcd816657bb3b Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 23 Mar 2011 22:17:25 +0000 Subject: Interpret space as Unicode by default, add a flag to make it symbolic instead --- termkey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termkey.c') 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; -- cgit v1.2.3