mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-30 06:03:49 +08:00
68e167d576
I did some research and experiments. For good or bad the `bind` command requires the use of wide char codepoints (e.g., \u1234) for non-ASCII chars. So don't force the use of the POSIX locale, but do provide it as an option for people who want to see the individual bytes rather than a decoded wide char. Simplify the format of the information displayed for each character. There really isn't much point in providing decimal, octal, and hexadecimal. Just print hex and symbolic representations. Add an example `bind` command that a user can copy/paste. Closes #3183
8 lines
178 B
Plaintext
8 lines
178 B
Plaintext
saw expected startup prompt
|
|
ctrl-a handled
|
|
unicode char, handled
|
|
\c@ handled
|
|
invalid terminate sequence handled
|
|
valid terminate sequence handled
|
|
exited on seeing valid terminate
|