Also send konsole cursor sequence for iTerm2

Fixes #1403
This commit is contained in:
Fabian Homborg 2015-10-13 15:36:55 +02:00
parent 35e769d494
commit 9865a8c807

View file

@ -6,7 +6,8 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes'
set fcn set fcn
switch "$terminal" switch "$terminal"
case auto case auto
if set -q KONSOLE_PROFILE_NAME if begin; set -q KONSOLE_PROFILE_NAME
or set -q ITERM_PROFILE; end
set fcn __fish_cursor_konsole set fcn __fish_cursor_konsole
set uses_echo 1 set uses_echo 1
else if string match -q "xterm*" -- $TERM else if string match -q "xterm*" -- $TERM