fish-shell/src
Johannes Altmanninger 0c5a616113 Show autosuggestion again after undoing deletion
Commit e5b34d5cd (Suppress autosuggesting during backspacing like browsers do,
2012-02-06) disabled autosuggestion when backspacing.  Autosuggestions are
re-enabled whenever we insert anything in the command line.  Undo uses a
different code path to insert into the command line, which does not re-enable
autosuggestion.

Fix that.

Also re-enable autosuggestion when undo erases from the command line.
This seems like the simplest approach. It's not clear if there's a better
behavior; browsers don't agree on one in any case.
2024-02-07 00:07:47 +01:00
..
bin Remove some obsolete comments 2024-02-07 00:07:47 +01:00
builtins builtins set: fix regressions querying undefined indices 2024-02-07 00:07:47 +01:00
env Remove unneeded second UVARS global 2024-02-01 17:35:44 +01:00
fork_exec Clean up some stale comments and restore libc usage in flog_safe 2024-01-21 12:03:56 -08:00
history Clean up some stale comments and restore libc usage in flog_safe 2024-01-21 12:03:56 -08:00
tests Reduce some numbers to make cargo test run faster 2024-02-02 16:44:36 +01:00
universal_notifier Move from libc read/write to nix read/write 2024-01-21 11:49:40 -08:00
widecharwidth Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wutil Fix build on NetBSD (#10270) 2024-01-28 21:45:14 +01:00
abbrs.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
ast.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
autoload.rs Unify how file mode is specified 2024-01-28 18:09:52 -06:00
color.rs Fix some clippy warnings 2024-01-21 19:12:33 -08:00
common.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
complete.rs Only use fuzzy option completion if there is a leading - 2024-01-30 09:09:45 +01:00
curses.rs Fix build on OpenSUSE Tumbleweed 2024-01-21 22:22:30 +01:00
editable_line.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
env_dispatch.rs Use cfg directly instead of going through features 2024-01-13 15:16:47 -06:00
env_universal_common.rs Unify how file mode is specified 2024-01-28 18:09:52 -06:00
event.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
exec.rs Return OwnedFd from open_cloexec 2024-01-27 20:42:13 +01:00
expand.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
fallback.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
fd_monitor.rs Move from libc read/write to nix read/write 2024-01-21 11:49:40 -08:00
fd_readable_set.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
fds.rs Fix unused import when pipe2 isn't available 2024-01-28 18:33:11 -06:00
fish_test_helper.cpp Initial Rust commit 2023-02-02 19:34:47 -07:00
flog.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
function.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
future.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
future_feature_flags.rs Add feature flag to turn off %self (#10262) 2024-02-06 22:13:16 +01:00
global_safety.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
highlight.rs Rename flag that fails expansions with command substitutions 2024-01-14 13:19:38 +01:00
history.rs Unify how file mode is specified 2024-01-28 18:09:52 -06:00
input.rs Make sets_bind_mode in input an Option<WString> 2024-01-21 18:19:40 -08:00
input_common.rs Move input tests into their own module in the tests dir 2024-01-21 18:19:40 -08:00
io.rs Unify how file mode is specified 2024-01-28 18:09:52 -06:00
job_group.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
kill.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
lib.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
libc.c Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
libc.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
locale.rs Remove uses of LC_GLOBAL_LOCALE 2024-02-01 22:15:24 +01:00
nix.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
null_terminated_array.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
operation_context.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
output.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
pager.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
parse_constants.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00
parse_execution.rs Forbid subcommand keywords in variables-as-commands (#10249) 2024-02-06 22:12:55 +01:00
parse_tree.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
parse_util.rs Disallow background operator before && or || 2024-01-20 11:32:44 +01:00
parser.rs Return OwnedFd from open_cloexec 2024-01-27 20:42:13 +01:00
parser_keywords.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
path.rs Fix build on NetBSD (#10270) 2024-01-28 21:45:14 +01:00
pointer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
print_help.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
proc.rs clippy 2024-01-13 08:52:54 +01:00
re.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
reader.rs Show autosuggestion again after undoing deletion 2024-02-07 00:07:47 +01:00
reader_history_search.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
redirection.rs Use nix OFlag for open_cloexec 2024-01-27 20:42:13 +01:00
screen.rs Fix build on NetBSD (#10270) 2024-01-28 21:45:14 +01:00
signal.rs Use cfg directly instead of going through features 2024-01-13 15:16:47 -06:00
termsize.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
threads.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
timer.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
tinyexpr.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
tokenizer.rs Add # as a path component char 2024-01-28 10:41:15 +01:00
topic_monitor.rs macOS: Fix warning reintroduced in 2ca102193c 2024-01-28 18:33:24 -06:00
trace.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
util.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wait_handle.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wchar.rs Remove widestring-suffix uses 2024-01-13 08:52:54 +01:00
wchar_ext.rs Disallow background operator before && or || 2024-01-20 11:32:44 +01:00
wcstringutil.rs Fix regression in split_string_tok() 2024-01-18 10:24:40 +01:00
wgetopt.rs Move fish-rust to project root 2024-01-13 03:58:33 +01:00
wildcard.rs Remove L! from sprintf calls 2024-01-13 08:52:54 +01:00