Gabriel Ivăncescu : conhost: Fix line wrapping around when ENABLE_VIRTUAL_TERMINAL_PROCESSING is set.
Module: wine Branch: master Commit: 8d076bc5e46cc11ec94db631e7c608f62d75cee2 URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d076bc5e46cc11ec94db631e... Author: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Date: Mon Apr 5 16:24:43 2021 +0200 conhost: Fix line wrapping around when ENABLE_VIRTUAL_TERMINAL_PROCESSING is set. 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. Signed-off-by: Gabriel Ivăncescu <gabrielopcode(a)gmail.com> Signed-off-by: Jacek Caban <jacek(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/conhost/conhost.c | 36 +++++++++++++------- programs/conhost/conhost.h | 5 +++ programs/conhost/tests/tty.c | 80 +++++++++++++++++++++++++++++++++++++++++--- programs/conhost/window.c | 6 ++-- 4 files changed, 107 insertions(+), 20 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=8d076bc5e46cc11ec94db...
participants (1)
-
Alexandre Julliard