Elvish shell on Windows receives pasted text slowly (ConHost/ConPTY related?) #16549
Labels
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
Windows Terminal version
1.18.3181.0
Windows build number
Microsoft Windows [Version 10.0.22621.2861]
Other Software
Elvish (0.20.0-dev.0.20240108164435-9112eb1ab2f4+official) (latest HEAD)
Steps to reproduce
Run Elvish on Windows, and paste a sufficiently long chunk of text into the shell's prompt, about 1k to 2k characters.
Expected Behavior
The entire pasted content to be received by the shell in one go, matching the behaviour exhibited by the shell on Unix-like environments and WSL2.
Actual Behavior
The pasted content is received by the shell gradually.
2024-01-10.01-23-37.mp4
(This happens on both Windows Terminal and Alacritty)
I previously reported this to the Elvish repo (elves/elvish#1744), and the discussion pointed that this might be an issue with Windows's ConHost/ConPTY and bracketed pasting. Hopefully this is the right place for the issue :)
The text was updated successfully, but these errors were encountered: