From 37741ac808946dcaf71032ab358461b127637f57 Mon Sep 17 00:00:00 2001 From: Roman Perepelitsa Date: Wed, 22 Dec 2021 15:04:31 +0100 Subject: [PATCH] Add a comment within zsh integration related to cursor shape changes --- shell-integration/zsh/kitty-integration | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell-integration/zsh/kitty-integration b/shell-integration/zsh/kitty-integration index c01402e65..392a29b65 100644 --- a/shell-integration/zsh/kitty-integration +++ b/shell-integration/zsh/kitty-integration @@ -100,6 +100,9 @@ fi # Enable cursor shape changes depending on the current keymap. if (( ! opt[(Ie)no-cursor] )); then + # This implementation leaks blinking block cursor into external commands + # executed from zle. For example, users of fzf-based widgets may find + # themselves with a blinking block cursor within fzf. _ksi_zle_line_init _ksi_zle_line_finish _ksi_zle_keymap_select() { case ${KEYMAP-} in vicmd|visual) builtin print -n '\e[1 q';; # blinking block cursor