mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 13:23:09 +00:00
f61ef2c63d
If a binding was input starting with "\e", it's usually a raw control sequence. Today we display the canonical version like: bind --preset alt-\[,1,\;,5,C foo even if the input is bind --preset \e\[1\;5C foo Make it look like the input again. This looks more familiar and less surprising (especially since we canonicalize CSI to "alt-["). Except that we use the \x01 representation instead of \ca because the "control" part can be confusing. We're inside an escape sequence so it seems highly unlikely that an ASCII control character actually comes from the user holding the control key. The downside is that this hides the canonical version; it might be surprising that a raw-escape-sequence binding can be erased using the new syntax and vice versa. |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
filter-ctrlseqs.sh | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test.fish | ||
test_driver.sh | ||
test_env.sh | ||
test_util.fish |