mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
escape_string_script: Escape DEL as \x7f
This used to print a literal DEL character in the output for `bind`, which wouldn't actually show up and made it hard to figure out what the key was. So we just escape it back to how we actually used it - `\x7f`. Fixes #7631.
This commit is contained in:
@@ -710,3 +710,6 @@ end
|
||||
# CHECKERR: checks/string.fish (line {{\d+}}): function: The name 'string' is reserved, and cannot be used as a function name
|
||||
# CHECKERR: function string
|
||||
# CHECKERR: ^
|
||||
|
||||
string escape \x7F
|
||||
# CHECK: \x7f
|
||||
|
||||
Reference in New Issue
Block a user