[konsole] [Bug 384218] New: clear/^l shouldn't add empty lines to the scrollback buffer
RJVB
bugzilla_noreply at kde.org
Thu Aug 31 09:00:09 UTC 2017
https://bugs.kde.org/show_bug.cgi?id=384218
Bug ID: 384218
Summary: clear/^l shouldn't add empty lines to the scrollback
buffer
Product: konsole
Version: unspecified
Platform: Compiled Sources
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: history
Assignee: konsole-devel at kde.org
Reporter: rjvbertin at gmail.com
Target Milestone: ---
Executing the `clear` command clears the current view and leaves the
prompt/cursor at the top of the window, but also adds the remaining number of
empty lines to the scrollback buffer. IOW, if you execute it when the cursor is
already at the top of a view that's N lines high, you get N empty lines in the
scrollback buffer.
That's counterproductive.
The clear manpage states that the command `clears your screen if this is
possible, including its scrollback buffer (if the extended "E3" capability is
defined). clear looks in the environment for the terminal type and then in the
terminfo database to determine how to clear the screen`.
I'm not certain we'd want the scrollback clearing but there must be a way to
avoid the empty lines to it.
FWIW, I use TERM=xterm, and I note that xterms (v297) behave as I'd expect
(`clear` doesn't affect the scrollback buffer contents at all).
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list