You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug EnableBlinking and DisableBlinking don't work in the GNOME terminal.
Proposition
The control sequences for enabling/disabling blinking (\x1b[?12h and \x1b[?12l) don't seem to work in some terminals, however the control sequences that set the shape and the blinking state at the same time (\x1b[x q, with x an integer) are working.
Also, SetCursorShape modify the blinking state with an hard-coded value (block is steady, and underline and line are blinking).
Since the EnableBlinking and DisableBlinking commands are not working in some terminals and that SetCursorShape modify the blinking state with an hard-coded value, why not choosing the cursor shape and blinking state at the same time and making: EnableBlinking, DisableBlinking and SetCursorShape deprecated?
We can imagine a SetCursorStyle command that look like this:
Note that I'm using the \x1b[?12h and \x1b[?12l control sequences as a fail-over, in case \x1b[x q isn't supported.
If you think that it's a good idea, I can make the PR.
OS
Manjaro Linux
Terminal/Console
GNOME Terminal 3.42.2 for GNOME 41
The text was updated successfully, but these errors were encountered:
Yes this would be a nice to have. Little redundancy in ESC[?12h for blinking and then using ESC [ _n_ SP q for an other type of blinking could perhaps assure that blinking happens.
Describe the bug
EnableBlinking
andDisableBlinking
don't work in the GNOME terminal.Proposition
The control sequences for enabling/disabling blinking (
\x1b[?12h
and\x1b[?12l
) don't seem to work in some terminals, however the control sequences that set the shape and the blinking state at the same time (\x1b[x q
, withx
an integer) are working.Also,
SetCursorShape
modify the blinking state with an hard-coded value (block is steady, and underline and line are blinking).Since the
EnableBlinking
andDisableBlinking
commands are not working in some terminals and thatSetCursorShape
modify the blinking state with an hard-coded value, why not choosing the cursor shape and blinking state at the same time and making:EnableBlinking
,DisableBlinking
andSetCursorShape
deprecated?We can imagine a
SetCursorStyle
command that look like this:Note that I'm using the
\x1b[?12h
and\x1b[?12l
control sequences as a fail-over, in case\x1b[x q
isn't supported.If you think that it's a good idea, I can make the PR.
OS
Terminal/Console
The text was updated successfully, but these errors were encountered: