Skip to content

Paste is annoyingly asynchronous wrt typeahead #15315

@KalleOlaviNiemitalo

Description

@KalleOlaviNiemitalo

Windows Terminal version

1.17.1023

Windows build number

10.0.19045.2846

Other Software

git version 2.40.0.windows.1

Steps to reproduce

Run Git Bash in Windows Terminal, while other processes are causing CPU and paging load.

Copy some text to the Clipboard from another application. (For example, copy a Git commit ID.)

In Git Bash, type some characters, press Shift+Insert to paste, and type more characters. (For example, type git cherry-pick initially, and press Enter at the end.)

Expected Behavior

Pasted text should appear in the correct place between the first and second sequence of characters.

Actual Behavior

Pasted text occasionally appears after the second sequence of characters. As if Shift+Insert starts an asynchronous paste operation that completes at some later time and injects its result into the terminal input at that time.

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-AttentionThe core contributors need to come back around and look at this ASAP.Priority-3A description (P3)Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions