66c830484c
This relates to issue TDE/tde#71.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-------------------------------------------------------------
Original commit info:
From: Luis Alves <luisalves05@gmail.com>
Date: Wed, 10 Jun 2020 17:34:15 -0300
Subject: Add new ANSI sequences CNL and CPL
- It implements Cursor Next Line (CNL) sequence.
- It implments Cursor Previous Line (CPL) sequence.
- Ex: echo -e "Hello\e[3EWorld" or echo -e "Hello\e[3FWorld"
-------------------------------------------------------------
(cherry picked from commit d397267391)
This isn’t completely done as there’s still a few outdated
bits of infomation in there.
Signed-off-by: Gamerappa <chazpelo2@gmail.com>
(cherry picked from commit bd865430b4)
CSI S escape sequence (SU, scroll up) ignored if number of lines to
scroll bigger than scrollable lines
REVIEW: 130133
BUG: 379318
Taken from KDE patches and adapted to TDE.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0bb1c7eb4c)
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 838025df1c)
Patch by btown using lxde/qtermwidget@60221da by @yan12125
ECMA-48 8.3.103 describes the sequence CSI Pn b for repeating the
previous character in the data stream. This sequence has been present
in XTerm since January 1997 and has been added to the latest terminfo
entry for xterm-new and derived entries such as xterm-256color.
https://phabricator.kde.org/D10064
Taken from KDE patches and adapted to TDE.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4934beb550)
* Better Escape key usage prevention
* Better handling of different shortcut counts (0 vs 1 vs 2)
* Fixed a deprecated function call to setShortcut()
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 10cddab2e3)
depending on the current value of forceFontDPI. This solves the automatic
transition of configuration after adding support for variable font DPI.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 48077a30f9)