microsoft/Terminal

Suppress cursor blinking when text is actively being printed

Offen

#1.087 geöffnet am 31.05.2019

 (7 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)C++ (9.275 Forks)batch import
Area-RenderingHelp WantedIssue-TaskPriority-3Product-Terminal

Repository-Metriken

Stars
 (103.173 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 27T 19h) (24 gemergte PRs in 30 T)

Beschreibung

Here's an edge case I didn't cover in #686 - though it might warrant its own issue anyway.

Environment

Windows build number: 10.0.18362.145
Windows Terminal version (if applicable): commit 71e19cd82528d66a0a7867cbed85990cfc1685f1

Any other software?

Steps to reproduce

Print a lot of text to the console. This is especially apparent with progress bars that require backspace characters.

Actual behavior

The cursor continues to blink, or if the cursor blinking is turned off it stays on. This leads to some weird behaviour:

2019-05-31_17-20-01 2019-05-31_17-27-22

Expected behavior

I'm thinking the cursor should automatically hide when printing text. I've seen this done in a few other terminal programs.

Contributor Guide