Investigate using ZWNJ at the beginning of COOKED_READ_DATA line #1038

Open
opened 2026-01-30 22:14:38 +00:00 by claunia · 0 comments
Owner

Originally created by @miniksa on GitHub (May 14, 2019).

This is a follow on from #514.

We could potentially insert a ZWNJ at the beginning of a cooked read data line to prevent ligature joins from happening between the immutable text and the prompt line for applications that use the cooked read data services of the conhost.exe. This would make this work automagically for cmd.exe and a bunch of little utilities.

There are some concerns about sending that through ConPTY that I think are justified (as would be required to make this work in any fashion on the Windows Terminal UI).

Either way, this is going to need someone to fool around with it and see what works and what doesn't.

Originally created by @miniksa on GitHub (May 14, 2019). This is a follow on from #514. We could potentially insert a ZWNJ at the beginning of a cooked read data line to prevent ligature joins from happening between the immutable text and the prompt line for applications that use the cooked read data services of the `conhost.exe`. This would make this work automagically for `cmd.exe` and a bunch of little utilities. There are some concerns about sending that through ConPTY that I think are justified (as would be required to make this work in any fashion on the Windows Terminal UI). Either way, this is going to need someone to fool around with it and see what works and what doesn't.
claunia added the Issue-FeatureProduct-ConhostArea-InputArea-CookedRead labels 2026-01-30 22:14:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1038