fish_vi_cursor: Use xterm sequence for iterm

This has been supported since 2012, allows blinking cursors and works
in tmux.

Fixes #9172
Fixes #3741
This commit is contained in:
Fabian Boehm 2022-09-26 17:05:37 +02:00
parent 42602ba4fc
commit 011af34d62

View file

@ -68,8 +68,6 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
# and it uses the xterm sequences.
if set -q KONSOLE_PROFILE_NAME
set function __fish_cursor_konsole
else if set -q ITERM_PROFILE
set function __fish_cursor_1337
else
set function __fish_cursor_xterm
end