screen/vte: add cursor style support via DECSCUSR (CSI Ps SP q) - #58
Merged
Conversation
underscoreevelyn
force-pushed
the
decscusr
branch
2 times, most recently
from
July 19, 2026 03:58
36c4029 to
66ba802
Compare
kdj0c
reviewed
Jul 22, 2026
| LIBTSM_4_6 { | ||
| global: | ||
| tsm_screen_draw2; | ||
| tsm_screen_get_cursor_style; |
Contributor
There was a problem hiding this comment.
LIBTSM_4_6 is already released.
so you should add
LIBTSM_4_7 {
global:
tsm_screen_get_cursor_style;
tsm_screen_set_cursor_style;
} LIBTSM_4_6
Contributor
|
It looks good to me. Thanks for your contribution. |
underscoreevelyn
force-pushed
the
decscusr
branch
from
July 23, 2026 00:04
66ba802 to
8da1b0c
Compare
Parse DECSCUSR escape sequences in vte and keep track of the cursor style in screen.
underscoreevelyn
force-pushed
the
decscusr
branch
from
July 23, 2026 00:06
8da1b0c to
0591f7c
Compare
Contributor
Author
|
That's my bad, should be good now |
This was referenced Jul 26, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parse DECSCUSR escape sequences in vte and keep track of the cursor style in screen.
The idea is for a consumer (i.e. kmscon) to query the cursor style via
tsm_screen_get_cursor_stylewhen rendering and decide what to do from there, similarly to how one might query theTSM_SCREEN_HIDE_CURSORflag.