diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-11-30 14:35:23 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-11-30 14:35:23 +0000 |
commit | 7b3dc4be71e9c611bc4a6b191264f99eb642d44c (patch) | |
tree | 19aea2fd55a00f6d0fbaf252e327bc2b6850eea5 /termkey-internal.h | |
parent | d241d6216abcf3607a72e53b18f2d0b5882bb164 (diff) | |
download | termo-7b3dc4be71e9c611bc4a6b191264f99eb642d44c.tar.gz termo-7b3dc4be71e9c611bc4a6b191264f99eb642d44c.tar.xz termo-7b3dc4be71e9c611bc4a6b191264f99eb642d44c.zip |
Return a real key type for unrecognised CSI sequences; allow accessing them by termkey_interpret_csi()
Diffstat (limited to 'termkey-internal.h')
-rw-r--r-- | termkey-internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/termkey-internal.h b/termkey-internal.h index 1ebdecb..733f148 100644 --- a/termkey-internal.h +++ b/termkey-internal.h @@ -38,6 +38,8 @@ struct TermKey { size_t buffstart; // First offset in buffer size_t buffcount; // NUMBER of entires valid in buffer size_t buffsize; // Total malloc'ed size + size_t hightide; /* Position beyond buffstart at which peekkey() should next start + * normally 0, but see also termkey_interpret_csi */ struct termios restore_termios; char restore_termios_valid; |