fish-shell/share/functions/__fish_cursor_konsole.fish

12 lines
278 B
Fish
Raw Normal View History

2014-01-20 12:47:13 +00:00
function __fish_cursor_konsole -d 'Set cursor (konsole)'
set -l shape $argv[1]
switch "$shape"
2014-01-20 17:28:54 +00:00
case block
echo -en '\e]50;CursorShape=0\x7'
case underscore
echo -en '\e]50;CursorShape=2\x7'
case line
echo -en '\e]50;CursorShape=1\x7'
end
2014-01-20 12:47:13 +00:00
end