fish-shell/tests/checks
Johannes Altmanninger f61ef2c63d Display raw escape sequences the old way again
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.
2024-04-09 00:07:27 +02:00
..
broken-config/fish Port config tests to littlecheck 2019-06-25 22:31:06 +02:00
abbr.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
alias.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
andandoror.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
andor.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
argparse.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
bad-option.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
basic.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
bind.fish Display raw escape sequences the old way again 2024-04-09 00:07:27 +02:00
braces.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
broken-config.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
builtinbuiltin.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
caller-exit.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
caller-observer.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
cd.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
check-all-fish-files.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
check-completions.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
check-translations.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
cmdsub-limit.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
cmdsub.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
colon-delimited-var.fish Clean up how PATH and CDPATH munging occurs 2019-11-02 16:48:08 -07:00
command-1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
command-2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
command-not-found.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
command-vars-persist.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
commandline.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
complete-group-order.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
complete.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
complete_directories.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
contains_opt.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
count.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
deep-cmdsub.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
default-setup-path.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
directory-redirect.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
disown-parent.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
empty.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
env.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
eval.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
exec.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
exit-status-with-closing-stderr.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
expansion.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
fds.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-ampersand-nobg-in-token1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-nocaret1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-nocaret2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-nocaret3.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-nocaret4.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-percent-self1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-percent-self2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-qmark1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-qmark2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-string-backslashes-off.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
features-string-backslashes.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
fish_add_path.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
fish_exit.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
fish_user_paths.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
for.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
function-definition.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
function.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
functions.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
git.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
glob.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
history.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
indent.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
init-command-2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
init-command-mix-ordering.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
init-command-mix.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
init-command.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
init-unreadable-cwd.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
invocation.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
job-control-noninteractive.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
job-control-not-a-tty.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
job-ids.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
jobs-are-escaped.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
jobs.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
line-continuation.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
line-number.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
locale-numeric.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
locale.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
loops.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
math.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
no-config.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
no-execute.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
noshebang.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
not.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
nuls.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
path.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
pipeline-pgroup.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
pipestatus.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
print-help.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
printf.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
prompt.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
psub.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
random.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
rc-returned.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
read.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
realpath.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
redirect.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
regex-import.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
return.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
scoping.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
self-signal-usr1.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
set.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
setenv.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
sigint.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
sigint2.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
signal.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
slices.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
stack-overflow.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
status-command.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
status-value.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
status.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
string-advanced.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
string.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
switch.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
symlinks-not-overwritten.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
syntax-error-location.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
test.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
threads.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
time.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-abbr.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-bind.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-commandline.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-complete.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-history-search.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
tmux-prompt.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
trace.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
trap.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
trap_print.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
type.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
ulimit.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
umask.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
variable-assignment.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
vars_as_commands.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
version.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
wait.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
wildcard.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
wraps.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00
zero_based_array.fish Extended & human-friendly keys 2024-04-02 14:35:16 +02:00