Return a real key type for unrecognised CSI sequences; allow accessing them by termkey_interpret_csi()

This commit is contained in:
Paul LeoNerd Evans
2012-11-30 14:35:23 +00:00
parent d241d6216a
commit 7b3dc4be71
7 changed files with 101 additions and 4 deletions

View File

@@ -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;