mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-08 02:31:18 -03:00
Merge pull request #10398 from mqudsi/forward-char-passive
Add `forward-char-passive` and `backward-char-passive`
This commit is contained in:
@@ -102,3 +102,13 @@ isolated-tmux send-keys C-e M-f Space nothing
|
||||
tmux-sleep
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt 7> echo suggest nothing
|
||||
|
||||
isolated-tmux send-keys C-u 'bind \cs forward-char-passive' Enter C-l
|
||||
isolated-tmux send-keys C-u 'bind \cb backward-char-passive' Enter C-l
|
||||
isolated-tmux send-keys C-u 'echo do not accept this' Enter C-l
|
||||
tmux-sleep
|
||||
isolated-tmux send-keys 'echo do not accept thi' C-b C-b Delete C-b C-s 'h'
|
||||
tmux-sleep
|
||||
isolated-tmux send-keys C-s C-s C-s 'x'
|
||||
isolated-tmux capture-pane -p
|
||||
# CHECK: prompt 10> echo do not accept thix
|
||||
|
||||
Reference in New Issue
Block a user