Move where "Key is unbound" message is displayed
This commit is contained in:
parent
0da45020db
commit
a1f66db972
1 changed files with 5 additions and 1 deletions
|
@ -851,7 +851,11 @@ Additionally ensures correct line numbers on the way, as a bonus."
|
|||
(setf key (char-downcase key)))
|
||||
(let ((mapping (assoc key *key-command-mappings* :test #'equalp)))
|
||||
(if (null mapping)
|
||||
(format *eio* "Key ~A is unbound.~%" key)
|
||||
(progn
|
||||
(move-cursor *status-line-position* 0)
|
||||
(format *eio* "~<~;Key ~A is unbound.~>" key)
|
||||
(force-output *eio*)
|
||||
(sleep 1))
|
||||
(funcall (cadr mapping)))
|
||||
(force-output *eio*)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue