v1.1.1: fix format No more arguments on CSI key press

parse-csi-params format string had ~C[~{~d~};~d~C — the trailing ~C
had no matching argument (terminator already consumed by ~d). Removed
the spurious ~C. Bug triggered on every arrow key, home, end, etc.
This commit is contained in:
2026-05-20 09:39:56 -04:00
parent 9b8ac8b770
commit e53939844c

View File

@@ -430,7 +430,7 @@ sequences where modifiers appear in a non-standard position.
:raw (string (code-char code))))
(make-key-event :key (or key :unknown)
:ctrl ctrl :alt alt :shift shift
:raw (format nil "~C[~{~d~};~d~C" #\Esc params terminator)))))
:raw (format nil "~C[~{~d~};~d" #\Esc params terminator)))))
#+END_SRC
** Raw byte reader