You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/konsole
Mariusz Glebocki 838025df1c
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>
3 years ago
..
doc qt -> tqt conversion: 7 years ago
fonts [kdebase/konsole] run mkfontdir after installing fonts 14 years ago
konsole Konsole: CSI 2J: Do not append current screen to history 3 years ago
other Desktop file translations: 5 years ago
terminalhere Fixed handling of RMC -> Actions -> Open terminal here. 5 years ago
tests Revert automated changes 14 years ago
CMakeL10n.txt Desktop file translations: 5 years ago
CMakeLists.txt Desktop file translations: 5 years ago
COPYING Update COPYING file. 12 years ago
ChangeLog Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 12 years ago
ConfigureChecks.cmake [kdebase] initial cmake support 14 years ago
Makefile.am Fixed handling of RMC -> Actions -> Open terminal here. 5 years ago
NEWS Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.fonts Revert automated changes 14 years ago
README.keyboard Rename KDEHOME and KDEDIR 13 years ago
README.konsole_kiosk Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.linux.console Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.moreColors Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.ports Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.unicode Revert automated changes 14 years ago
configure.in.in Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
eventsrc Desktop file translations: 5 years ago
kcmkonsole.desktop Desktop file translations: 5 years ago
konsole-script.desktop Desktop file translations: 5 years ago
konsole.desktop Desktop file translations: 5 years ago
konsole.upd Convert remaining references to kde3 (e.g. in paths) to trinity 14 years ago
konsolepart.desktop Desktop file translations: 5 years ago
konsolesu.desktop Desktop file translations: 5 years ago
kwrited.desktop Desktop file translations: 5 years ago
schemaStrip.pl Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
terminalemulator.desktop Desktop file translations: 5 years ago
terminalhere.desktop Desktop file translations: 5 years ago
tips Fix remaining brandings in tdebase. 6 years ago

README

Konsole is an X terminal emulation.

Share and enjoy it,
  Lars