From 9865a8c80795eaa54134b6317002edbc8088dcf3 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 13 Oct 2015 15:36:55 +0200 Subject: [PATCH] Also send konsole cursor sequence for iTerm2 Fixes #1403 --- share/functions/fish_vi_cursor.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/functions/fish_vi_cursor.fish b/share/functions/fish_vi_cursor.fish index 7de8c6750..5a7b9c8b2 100644 --- a/share/functions/fish_vi_cursor.fish +++ b/share/functions/fish_vi_cursor.fish @@ -6,7 +6,8 @@ function fish_vi_cursor -d 'Set cursor shape for different vi modes' set fcn switch "$terminal" 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 uses_echo 1 else if string match -q "xterm*" -- $TERM