mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
fish_key_reader: Don't translate things to "\v" and friends
This translated ctrl-k to "\v", which is a "vertical tab", and ctrl-l to "\f" and ctrl-g to "\a". There is no "vertical tab" or "alarm" or "\f" *key*, so these shouldn't be translated. Just drop these and call them `\ck` and such. (vertical tab specifically is utterly useless and I would be okay with dropping it entirely, I have never seen it used anywhere)
This commit is contained in:
@@ -25,7 +25,7 @@ expect_str("Press a key:")
|
||||
|
||||
# Is a single control char echoed correctly?
|
||||
send("\x07")
|
||||
expect_str("char: \\cG (or \\a)\r\nbind \\a 'do something'\r\n")
|
||||
expect_str("char: \\cG\r\nbind \\cG 'do something'\r\n")
|
||||
|
||||
# Is a non-ASCII UTF-8 sequence prefaced by an escape char handled correctly?
|
||||
sleep(0.020)
|
||||
|
||||
Reference in New Issue
Block a user