Created
November 12, 2020 07:13
-
-
Save uncomfyhalomacro/3db6538d795375adbfb1c9a9241c1626 to your computer and use it in GitHub Desktop.
Cursor Shapes and Style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"\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