pseudo console and auto-wrap

Thomas Wolff towo@towo.net
Wed Apr 1 21:55:41 GMT 2020


Am 05.03.2020 um 16:51 schrieb Takashi Yano:
> Hi Thomas,
>
> On Thu, 5 Mar 2020 11:33:33 +0100
> Thomas Wolff wrote:
>> With ConPTY support, the following command results in output that
>> contains an explicit newline at the auto-wrap position:
>> cmd /c echo a line which is wider than your terminal ...
>>
>> For copy/paste, this is surprising and undesired
>> (https://github.com/mintty/mintty/issues/971).
>> Can the line wrapping case be handled specifically, assuming proper
>> auto-wrap mode on the terminal side, to avoid this?
> This is internal behaviour of pseudo console.
> So we can not touch it. WSL also behaves the same.
>
https://github.com/microsoft/terminal/pull/5181 seems to intend to fix it.


More information about the Cygwin mailing list