Skip to content

TerminalCore/TerminalControl dispatch five billion cursor update coroutines when printing long file #5288

@DHowett-MSFT

Description

@DHowett-MSFT

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingPriority-0Bugs that we consider release-blocking/recall-class (P0)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.Severity-BlockingWe won't ship a release like this! No-siree.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions