mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:22:52 +08:00
0627c9d9af
Inserting Tab or Backspace characters causes weird glitches. Sometimes it's useful to paste tabs as part of a code block. Render tabs as "␉" and so on for other ASCII control characters, see https://unicode-table.com/en/blocks/control-pictures/. This fixes the width-related glitches. You can see it in action by inserting some control characters into the command line: set chars for x in (seq 1 0x1F) set -a chars (printf "%02x\\\\x%02x" $x $x) end eval set chars $chars commandline -i "echo '" $chars Fixes #6923 Fixes #5274 Closes #7295 We could extend this approach to display a fallback symbol for every unknown nonprintable character, not just ASCII control characters. In future we might want to support tab properly. |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish |