-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething that's not working as intendedSomething that's not working as intended
Milestone
Description
The default set of binds includes a binding on the del control character.
| bind --preset $argv \x7f backward-delete-char |
But when you ask bind to then print its bindings, it just prints the del control character raw:
bind --preset -k backspace backward-delete-char
bind --preset backward-delete-char
bind --preset -k sdc backward-delete-char
(piping that into less will show the control character as a highlighted ^?)
bind should instead show any non-printable character as a hex or unicode escape, if there's no key name for it. Though in this particular case maybe it should just show it as \c?, which is a bit confusing and generally can't be typed but is technically accurate.
fish, version 3.1.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething that's not working as intendedSomething that's not working as intended