Use blinking block for commands consistent with zsh and bash integration
This commit is contained in:
parent
5d4b0c0bef
commit
3aec573d40
@ -27,8 +27,8 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
|||||||
if not contains "no-cursor" $_ksi
|
if not contains "no-cursor" $_ksi
|
||||||
and not functions -q __ksi_set_cursor
|
and not functions -q __ksi_set_cursor
|
||||||
|
|
||||||
function __ksi_block_cursor --on-event fish_preexec -d "Set cursor shape to steady block before executing command"
|
function __ksi_block_cursor --on-event fish_preexec -d "Set cursor shape to blinking block before executing command"
|
||||||
printf "\e[2 q"
|
printf "\e[1 q"
|
||||||
end
|
end
|
||||||
|
|
||||||
function __ksi_set_cursor --on-variable fish_key_bindings -d "Set the cursor shape for different modes when switching key bindings"
|
function __ksi_set_cursor --on-variable fish_key_bindings -d "Set the cursor shape for different modes when switching key bindings"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user