mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 08:51:14 -03:00
Clean up the accept-autosuggestion code path a little bit
It's still a bit too complex unfortunately.
This commit is contained in:
11
tests/checks/tmux-autosuggestion.fish
Normal file
11
tests/checks/tmux-autosuggestion.fish
Normal file
@@ -0,0 +1,11 @@
|
||||
#RUN: %fish %s
|
||||
#REQUIRES: command -v tmux
|
||||
|
||||
isolated-tmux-start
|
||||
isolated-tmux send-keys 'echo "foo bar baz"' Enter C-l
|
||||
isolated-tmux send-keys 'echo '
|
||||
tmux-sleep
|
||||
isolated-tmux send-keys M-Right
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt 1> echo "foo bar baz"
|
||||
tmux-sleep
|
||||
Reference in New Issue
Block a user