Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow changing of cursor shape #243

Open
Simon-Hostettler opened this issue Apr 16, 2022 · 1 comment
Open

Allow changing of cursor shape #243

Simon-Hostettler opened this issue Apr 16, 2022 · 1 comment

Comments

@Simon-Hostettler
Copy link

Simon-Hostettler commented Apr 16, 2022

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.

@ShrykeWindgrace
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants