7696122 / evil-terminal-cursor-changer

:smiling_imp: Chagning cursor by mode for evil on terminal.
81 stars 12 forks source link

Add Kitty Terminal support #32

Closed coldnew closed 1 year ago

coldnew commented 1 year ago

Kitty is a GPU based terminal emulator which use the same mechanism as xterm to change curosor shape.

For example:

printf '\e[1 q' # box blink printf '\e[2 q' # box blink printf '\e[3 q' # hbar blink printf '\e[4 q' # hbar printf '\e[5 q' # bar blink printf '\e[6 q' # bar

We can also use (getenv "KITTY_PID") to check if current emacs is launched from kitty or not.

Fixed #30