[konsole] [Bug 399615] Mishandling \b at the right margin

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Oct 22 08:32:05 BST 2021


https://bugs.kde.org/show_bug.cgi?id=399615

--- Comment #10 from tcanabrava at kde.org ---
Git commit c099e0f2ea0f25b923203d17409eee8bc2831bfd by Tomaz  Canabrava, on
behalf of Luis Javier Merino MorĂ¡n.
Committed on 22/10/2021 at 07:29.
Pushed by tcanabrava into branch 'master'.

Fix regression on cursor controls at last column

Commit 8de0e6c7 mistakenly removed code to cancel the pending wrap flag
(which in konsole is implemented as having the cursor one past the width
of the screen) before the cursor controls CUU, CUD, CUB and BS.

While the behavior may seem counter-intuitive (specially BS and CUB,
where `printf "A\bB"` at the last column results in `BA`), this is the
behavior of VT100, xterm (without reverse-wraparound mode), and, most
importantly, is expected by ncurses.

M  +4    -0    src/Screen.cpp

https://invent.kde.org/utilities/konsole/commit/c099e0f2ea0f25b923203d17409eee8bc2831bfd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list