From 23432f30dd46d29e5f28c50264922ae78102f726 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Wed, 19 Feb 2020 22:22:12 -0500 Subject: [PATCH] Add TODO + comment --- key.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/key.go b/key.go index 49dfe0e..a12cc37 100644 --- a/key.go +++ b/key.go @@ -129,6 +129,7 @@ const ( KeyCtrlQuestionMark = keyDEL // ctrl+? ) +// Other keys we track const ( KeyRune = -(iota + 1) KeyUp @@ -192,6 +193,7 @@ var keyNames = map[int]string{ } // Mapping for sequences to consts +// TODO: should we just move this into the hex table? var sequences = map[string]KeyType{ "\x1b[A": KeyUp, "\x1b[B": KeyDown,