fish-shell/share/functions/__fish_cursor_konsole.fish

12 lines
261 B
Fish
Raw Normal View History

2014-01-20 12:47:13 +00:00
function __fish_cursor_konsole -d 'Set cursor (konsole)'
2014-01-20 13:03:46 +00:00
set -l shape $argv[1]
switch "$shape"
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