aboutsummaryrefslogtreecommitdiffstats
path: root/libterminput.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-04-09 19:41:17 +0200
committerMattias Andrée <maandree@kth.se>2021-04-09 19:41:17 +0200
commit5907c786fa616532ce2107bb497d9b7f2f6ab584 (patch)
treee17681b24083fcf50cf3d3ed355c76c58ebf6dcd /libterminput.h
parentUpdate todo (diff)
downloadlibterminput-5907c786fa616532ce2107bb497d9b7f2f6ab584.tar.gz
libterminput-5907c786fa616532ce2107bb497d9b7f2f6ab584.tar.bz2
libterminput-5907c786fa616532ce2107bb497d9b7f2f6ab584.tar.xz
Add flags for some incompatible input
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libterminput.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libterminput.h b/libterminput.h
index 58c2976..7e94564 100644
--- a/libterminput.h
+++ b/libterminput.h
@@ -12,7 +12,10 @@
* terminal support this flag if set.
*/
enum libterminput_flags {
- LIBTERMINPUT_DECSET_1005 = 0x0001
+ LIBTERMINPUT_DECSET_1005 = 0x0001,
+ LIBTERMINPUT_MACRO_ON_CSI_M = 0x0002,
+ LIBTERMINPUT_PAUSE_ON_CSI_P = 0x0004,
+ LIBTERMINPUT_INS_ON_CSI_AT = 0x0008
};
enum libterminput_mod {
@@ -50,6 +53,8 @@ enum libterminput_key {
LIBTERMINPUT_ERASE, /* backspace */
LIBTERMINPUT_ENTER, /* return */
LIBTERMINPUT_ESC,
+ LIBTERMINPUT_MACRO,
+ LIBTERMINPUT_PAUSE,
LIBTERMINPUT_KEYPAD_0,
LIBTERMINPUT_KEYPAD_1,
LIBTERMINPUT_KEYPAD_2,