mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
3b30d92b62
When selecting items in the pager, only the latest of those items is kept in the edit history, as so-called transient edit. Each new transient edit evicts any old transient edit (via undo). If the pager is closed by a command that performs another transient edit (like history-token-search-backward) we thus inadvertently undo (= remove) the token inserted by the pager. Fix this by closing a transient edit session when closing the pager. Token search will start its own session. Fixes #9160 |
||
---|---|---|
.. | ||
checks | ||
pexpects | ||
test_functions | ||
.gitignore | ||
history_sample_bash | ||
history_sample_corrupt1 | ||
history_sample_fish_1_x | ||
history_sample_fish_2_0 | ||
interactive.config | ||
interactive.fish | ||
test_driver.sh | ||
test_env.sh | ||
test_util.fish | ||
test.fish |