I know that Konsole supports an escape code like "\<Esc>]50;CursorShape=0\x7"
that will change the cursor shape. I was wondering if any other terminal emulators support changing the cursor shape via an escape code?
Escape Code to Change Cursor Shape
escape-charactersterminal
Related Question
- Programmatically detect the ANSI escape code supported by terminal
- Shell – Save cursor position and restore it in terminal
- I can’t send escape sequences from keyboard, but can do it from another tty
- Terminal escape sequences: why don’t terminals report what features they support, instead of relying on terminfo
Best Answer
The Linux VGA/framebuffer consoles use the
Esc[?...c
code.xterm
supports the VT520 sequence DECSCUSREsc[... q
since patch 282.