diff options
author | Mariusz Glebocki <mglb@arccos-1.net> | 2019-06-15 16:55:31 -0400 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-10-11 10:15:13 +0200 |
commit | af843540a007f7f2ad542d262d7cd10bc3ba4614 (patch) | |
tree | 9f91d50b165e7f380e59f23e6cb325271dbda837 /README.pam | |
parent | 6b3721d83a4a394667de9c6f91b6bb190edd37fa (diff) | |
download | tdebase-af843540a007f7f2ad542d262d7cd10bc3ba4614.tar.gz tdebase-af843540a007f7f2ad542d262d7cd10bc3ba4614.zip |
Konsole: CSI 2J: Do not append current screen to history
Summary:
This behavior is present in e.g. xterm and linux console.
Currently when using CSI 2J escape sequence, screen contents are
appended to scrollback (including bottom empty lines). This is breaking
`clear` command, which replaces scrollback with current screen contents.
BUG: 384218
Test Plan:
* Start Konsole with a shell
* `clear`
**Expected result:**
Cleared display, empty scrollback.
**Actual result:**
Cleared display, but scrollback contains previous display contents.
---
* Start Konsole with a shell
* seq 1000
* `echo -ne '\033[2J`
**Expected result:**
Cleared display, numbers in last scrollback lines.
**Actual result:**
Cleared display, but scrollback contains previous display contents
(i.e. shell prompt in last lines)
Reviewers: #konsole, hindenburg
Reviewed By: #konsole, hindenburg
Subscribers: hindenburg, konsole-devel, #konsole
Tags: #konsole
Differential Revision: https://phabricator.kde.org/D21282
Taken from KDE patches and adapted to TDE.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 838025df1cdfed31cfb086329cbf090b79d33159)
Diffstat (limited to 'README.pam')
0 files changed, 0 insertions, 0 deletions