Set beam to non-blinking cursor

This commit is contained in:
Noah Masur 2020-06-04 12:58:40 -06:00
parent 50193077f4
commit 815d968302

View File

@ -9,7 +9,7 @@ function zle-keymap-select {
if [[ $KEYMAP == vicmd ]] || [[ $1 = 'block' ]]; then
echo -ne '\e[1 q'
elif [[ $KEYMAP == main ]] || [[ $KEYMAP == viins ]] || [[ $KEYMAP = '' ]] || [[ $1 = 'beam' ]]; then
echo -ne '\e[5 q'
echo -ne '\e[6 q'
fi
}
zle -N zle-keymap-select