mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 00:06:00 +08:00
71992158bf
default_keybindings are left with tabs as it was in the beginning
12 lines
279 B
Fish
12 lines
279 B
Fish
function __fish_cursor_konsole -d 'Set cursor (konsole)'
|
|
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
|
|
end
|