[konsole] [Bug 449233] Only one line is saved when multiple lines are scrolled up

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Fri Jan 28 22:24:46 GMT 2022


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

ninjalj at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ninjalj at gmail.com

--- Comment #1 from ninjalj at gmail.com ---
Info on other terminal emulators.

There are several cases to consider:
 - No margins
 - Vertical margin that includes line 1, e.g. 1;$((LINES-2))
 - Vertical margin that doesn't include line 1, e..g 2;$((LINES))
 - Horizontal margins

xterm, urxvt and wezterm move lines into the scrollback buffer for the 2 first
cases, but not for the last 2 (urxvt actually doesn't support horizontal
margins).

vte doesn't move lines into the scrollback buffer for any case, and so behaves
like konsole.

mlterm moves lines into the scrollback buffer for the first 3 cases, but not
for the last 1.

contour moves lines into the scrollback buffer for the first case, but not for
the last 3 (it actually crashes on the horizontal margins case).

An argument can be made that SU (Scroll-Up/Pan-Down: CSI Ps S) is typically
used by fullscreen applications like vim, and it doesn't make sense to move
lines into the scrollback buffer in that case.

Do you have a real-world use case for this?

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


More information about the konsole-devel mailing list