windowsPtyMode property
Treat a wrap that happens after blank padding as a hard line break.
The Windows pseudo console moves to the next row by padding the current one with spaces up to the right margin and then writing the next row, instead of sending a line break. Without this, every such row is recorded as a soft wrap, so selections join unrelated rows and keep their padding.
Implementation
@override
final bool windowsPtyMode;