From eb2fac312a0867fbc346c0336db0891fe137e178 Mon Sep 17 00:00:00 2001 From: John Lorentzson Date: Thu, 31 Jul 2025 11:49:14 +0200 Subject: [PATCH] Add more recognized keys to the editor --- editor/editor.lisp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/editor/editor.lisp b/editor/editor.lisp index 90c89cc..44cfe7d 100644 --- a/editor/editor.lisp +++ b/editor/editor.lisp @@ -873,7 +873,13 @@ Additionally ensures correct line numbers on the way, as a bonus." (cons :c key)) (defparameter *csi-sequences* - '(((#\1 #\7 #\~) :f6) + '(((#\2 #\~) :insert) + ((#\3 #\~) :delete) + ((#\5 #\~) :page-up) + ((#\6 #\~) :page-down) + ((#\2 #\8 #\~) :help) + ((#\1 #\7 #\~) :f6) + ((#\2 #\9 #\~) :f6) ; Alias for VT220's "Do" key ((#\1 #\8 #\~) :f7) ((#\1 #\9 #\~) :f8) ((#\2 #\0 #\~) :f9)