diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-11-30 16:34:47 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-11-30 16:34:47 +0000 |
commit | 0be6f18019e1a5f5765c2061f7d69436e5fdec57 (patch) | |
tree | e76d2840e4d04b851b8afdd2d019899b706bedda /termkey.h.in | |
parent | c00f6cd3c63e01c84220b607eccf5a2ba2df8f63 (diff) | |
download | termo-0be6f18019e1a5f5765c2061f7d69436e5fdec57.tar.gz termo-0be6f18019e1a5f5765c2061f7d69436e5fdec57.tar.xz termo-0be6f18019e1a5f5765c2061f7d69436e5fdec57.zip |
Handle ANSI and DEC mode report CSIs
Diffstat (limited to 'termkey.h.in')
-rw-r--r-- | termkey.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/termkey.h.in b/termkey.h.in index 754700f..95f315b 100644 --- a/termkey.h.in +++ b/termkey.h.in @@ -97,6 +97,7 @@ typedef enum { TERMKEY_TYPE_KEYSYM, TERMKEY_TYPE_MOUSE, TERMKEY_TYPE_POSITION, + TERMKEY_TYPE_MODEREPORT, /* add other recognised types here */ TERMKEY_TYPE_UNKNOWN_CSI = -1 @@ -205,6 +206,8 @@ TermKeyResult termkey_interpret_mouse(TermKey *tk, const TermKeyKey *key, TermKe TermKeyResult termkey_interpret_position(TermKey *tk, const TermKeyKey *key, int *line, int *col); +TermKeyResult termkey_interpret_modereport(TermKey *tk, const TermKeyKey *key, int *initial, int *mode, int *value); + TermKeyResult termkey_interpret_csi(TermKey *tk, const TermKeyKey *key, long args[], size_t *nargs, unsigned long *cmd); typedef enum { |