Skip to content

Instantly share code, notes, and snippets.

@uncomfyhalomacro
Created November 12, 2020 07:13
Show Gist options
  • Save uncomfyhalomacro/3db6538d795375adbfb1c9a9241c1626 to your computer and use it in GitHub Desktop.
Save uncomfyhalomacro/3db6538d795375adbfb1c9a9241c1626 to your computer and use it in GitHub Desktop.
Cursor Shapes and Style
"\e[0 q" # blinking block
"\e[1 q" # blinking block default
"\e[2 q" # steady block cursor
"\e[3 q" # underline blinking cursor
all based below
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
CSI Ps SP q
Set cursor style (DECSCUSR), VT520.
Ps = 0 ⇒ blinking block.
Ps = 1 ⇒ blinking block (default).
Ps = 2 ⇒ steady block.
Ps = 3 ⇒ blinking underline.
Ps = 4 ⇒ steady underline.
Ps = 5 ⇒ blinking bar, xterm.
Ps = 6 ⇒ steady bar, xterm.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment