From 7b3dc4be71e9c611bc4a6b191264f99eb642d44c Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 30 Nov 2012 14:35:23 +0000 Subject: Return a real key type for unrecognised CSI sequences; allow accessing them by termkey_interpret_csi() --- termkey-internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'termkey-internal.h') 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; -- cgit v1.2.3