diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-23 22:17:25 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2011-03-23 22:17:25 +0000 |
commit | a71f68dd5718a77d5a97fc6d8e2fcd816657bb3b (patch) | |
tree | 23b61e44cb9f3d4eed92a00d3c0e53b375d5121e /termkey.h.in | |
parent | ba0c32e8d84925f88a8af540ce08b2dccbb52c25 (diff) | |
download | termo-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.h.in')
-rw-r--r-- | termkey.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/termkey.h.in b/termkey.h.in index 0adf112..8e3cad1 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -133,11 +133,12 @@ typedef struct { typedef struct _TermKey TermKey; enum { - TERMKEY_FLAG_NOINTERPRET = 1 << 0, // Do not interpret C0//G1 codes if possible + TERMKEY_FLAG_NOINTERPRET = 1 << 0, // Do not interpret C0//DEL codes if possible TERMKEY_FLAG_CONVERTKP = 1 << 1, // Convert KP codes to regular keypresses TERMKEY_FLAG_RAW = 1 << 2, // Input is raw bytes, not UTF-8 TERMKEY_FLAG_UTF8 = 1 << 3, // Input is definitely UTF-8 TERMKEY_FLAG_NOTERMIOS = 1 << 4, // Do not make initial termios calls on construction + TERMKEY_FLAG_SPACESYMBOL = 1 << 5, // Space is symbolic rather than Unicode }; void termkey_check_version(int major, int minor); |