Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Cursor not blinking in build 19

May
15,047
271
That was the first thing I noticed.

Still no blink after these.

Code:
v:\> echos ^e[?12h

v:\> echos ^e[3 q
 
I don't understand. It used to blink and either of those control sequences is supposed to make it blink.
 
And with TCCv36 it doesn't blink in WT either; it blinks with TCCv35. I think TCCv36 is sending the wrong control sequence.
 
First, you're referring to the caret, not the cursor.

Second, the only blinking caret is the default Windows system one, which blinks for a few seconds and then goes steady. Every other blinking caret (TCMD, Windows Terminal, etc.) isn't really a caret, it's a line or block of pixels that is alternately drawn and erased when a timer signals.

Third, the ANSI "blink caret" escape sequences are distinct from the non-blinking variants:

ESC[1 q - blinking block
ESC[2 q - steady block
ESC[3 q - blinking underline
ESC[4 q - steady underline
ESC[5 q - blinking bar
ESC[6 q - steady bar

Fourth, defaulting to a blinking caret breaks screen readers.
 
And with TCCv36 it doesn't blink in WT either; it blinks with TCCv35. I think TCCv36 is sending the wrong control sequence.

TCC v35 isn't sending a control sequence, and WT isn't blinking a caret. It's alternately drawing and erasing a line, because you haven't defined a caret shape / blink state.

If you sent an ANSI caret sequence it would use that and only blink if it was a blink sequence.
 
I mean the thing that shows the position on the command line, whatever it's called. There's also

Code:
[TABLE]
[TR]
[td]ESC [ 0 SP q[/td] [td]DECSCUSR[/td] [td]User Shape[/td] [td]Default cursor shape configured by the user[/td]
[/TR]
[/TABLE]

^e[3 q^e[0 q gives me what I want in WT, a blinking Underline of my configured height.

And the MS docs calls it a "cursor".
 
I mean the thing that shows the position on the command line, whatever it's called. There's also

Code:
[TABLE]
[TR]
[td]ESC [ 0 SP q[/td] [td]DECSCUSR[/td] [td]User Shape[/td] [td]Default cursor shape configured by the user[/td]
[/TR]
[/TABLE]

^e[3 q^e[0 q gives me what I want in WT, a blinking Underline of my configured height.

And the MS docs calls it a "cursor".

How are you setting your "configured height"? ^e[0 q doesn't do that, it's the same as a 1 (blinking block).
 
How are you setting your "configured height"? ^e[0 q doesn't do that, it's the same as a 1 (blinking block).
The doc I quoted was this one.

In WT I configure the cursor shape/height under specific_profile\Appearance\Cursor. That's taller than the default underscore and that's what I get from ^e[0 q.

1775596739318.webp
 
I don't mind the default underscore (not 15%) but it's gotta blink (as before build 19).

That control sequence or its implementation could be WT-specific.
 
Back
Top