Summary: | `printf "\ec"` does not clear the previous lines | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | b2.temp |
Component: | history | Assignee: | Konsole Developer <konsole-devel> |
Status: | REPORTED --- | ||
Severity: | normal | CC: | matan, ninjalj |
Priority: | NOR | ||
Version: | 22.12.0 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
b2.temp
2022-06-17 17:05:48 UTC
This behavior (I am not sure it is a bug), is the result of https://invent.kde.org/utilities/konsole/-/merge_requests/589 reset() uses scrollUp(0, _cuY) to clear the screen, which after this commit saves all lines to the scroll back buffer. In the current development branch, the screen is cleared by clearEntireScreen() instead, so the behavior is more similar to the old behavior (tough not exactly the same). maybe is there another command that does it right ? actually I use `printf "\ec"` because it's easy to remember. clear from the ncurses package by default clears the screen and the scrollback buffer. |