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:
@@ -430,7 +430,7 @@ sequences where modifiers appear in a non-standard position.
|
|||||||
:raw (string (code-char code))))
|
:raw (string (code-char code))))
|
||||||
(make-key-event :key (or key :unknown)
|
(make-key-event :key (or key :unknown)
|
||||||
:ctrl ctrl :alt alt :shift shift
|
: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
|
#+END_SRC
|
||||||
|
|
||||||
** Raw byte reader
|
** Raw byte reader
|
||||||
|
|||||||
Reference in New Issue
Block a user