Typed input is sometimes wrongly ordered #17825
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.20.11781.0
Windows build number
10.0.19045.3930
Other Software
Bash from Git for Windows
Steps to reproduce
I cannot tell exactly how to reproduce.
But it happens regularly.
The prompt is not ready yet because it still executes the last command or evaluates the
PROMPT_COMMAND
of Bash.Then I already type the next command like
git b -a
(b
here is a Git alias forbranch -vv
).Now regularly it happens that once the prompt is ready what is inserted is misordered, like
agit b -
, so the characters typed later are input before characters typed earlier.I first thought I just mistyped, but I'm absolutely sure now, that I did not mistype, but the characters were not inserted in the order I typed them.
I guess there is some race condition somewhere that causes this.
Expected Behavior
Input appears in the order I typed it.
Actual Behavior
Input is mixed up.
The text was updated successfully, but these errors were encountered: