[PATCH v4 3/3] conhost: Fix delayed wrapping around when ENABLE_VIRTUAL_TERMINAL_PROCESSING is set.

Jacek Caban jacek at codeweavers.com
Fri Apr 2 16:29:36 CDT 2021


Hi Gabriel,

On 4/2/21 7:07 PM, Gabriel Ivăncescu wrote:
> Remember the fact we completed the entire line but normalize the cursor
> otherwise. A newline is delayed so it wraps when writing a new character
> if the cursor is outside the width.
> 
> This can happen in practice when writing one character at a time to the
> console; right now it will keep overwriting the last character on the line.

I experimented a bit with your patches and think that we can just emit 
fewer '\b's. What do you think about something like the attached version?

Thanks,
Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: conhost.diff
Type: text/x-patch
Size: 11136 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210402/a793d49d/attachment.bin>


More information about the wine-devel mailing list