Escape Code to Change Cursor Shape

escape-charactersterminal

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?

Best Answer

The Linux VGA/framebuffer consoles use the Esc[?...c code.

xterm supports the VT520 sequence DECSCUSR Esc[... q since patch 282.