vty icon indicating copy to clipboard operation
vty copied to clipboard

Allow changing of cursor shape

Open Simon-Hostettler opened this issue 3 years ago • 1 comments

As far as I understand, most terminals provide multiple cursor shapes, such as blocks █, beams | etc. However I have found no option to change the shape of the cursor in vty itself. Drawing an escape sequence such as "\x1b[\x31 q" is not an option, as it messes with the layout. It would be nice to have this option without having to rely on an external script that changes the terminal settings.

Simon-Hostettler avatar Apr 16 '22 08:04 Simon-Hostettler

I do not know whether different flavors of linux terminal emulators have this feature; I'd assume the positive for now. WindowsTerminal has it out of the box:

https://learn.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences#cursor-shape

https://vt100.net/docs/vt510-rm/DECSCUSR.html and https://invisible-island.net/xterm/ctlseqs/ctlseqs.html list this capacity as well, so we can consider adding this feature.

ShrykeWindgrace avatar Sep 05 '23 15:09 ShrykeWindgrace