TerminalCore/TerminalControl dispatch five billion cursor update coroutines when printing long file #5288
Labels
Area-TerminalControl
Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Priority-0
Bugs that we consider release-blocking/recall-class (P0)
Product-Terminal
The new Windows Terminal.
Resolution-Fix-Committed
Fix is checked in, but it might be 3-4 weeks until a release.
Severity-Blocking
We won't ship a release like this! No-siree.
When we're printing a long file, we call
winrt::fire_and_forget TermControl::_TerminalCursorPositionChanged()
an absolutely mad number of times. Each one of them unconditionally dispatches and waits to tell the TSF input control it's ready to dispatch a cursor update.We can probably do this only once per dispatcher cycle.
The text was updated successfully, but these errors were encountered: