Elvish shell on Windows receives pasted text slowly (ConHost/ConPTY related?) #21083

Open
opened 2026-01-31 07:32:42 +00:00 by claunia · 0 comments
Owner

Originally created by @lilacse on GitHub (Jan 9, 2024).

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.

https://github.com/microsoft/terminal/assets/58763824/f3bc2323-2c99-4ba6-ace5-76bf6fde7d02

(This happens on both Windows Terminal and Alacritty)

I previously reported this to the Elvish repo (https://github.com/elves/elvish/issues/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 :)

Originally created by @lilacse on GitHub (Jan 9, 2024). ### 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. https://github.com/microsoft/terminal/assets/58763824/f3bc2323-2c99-4ba6-ace5-76bf6fde7d02 (This happens on both Windows Terminal and Alacritty) I previously reported this to the Elvish repo (https://github.com/elves/elvish/issues/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 :)
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:32:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21083