diff options
author | Kurt Hindenburg <kurt.hindenburg@gmail.com> | 2018-02-04 14:09:28 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-10-11 10:03:11 +0200 |
commit | 4934beb5506ba7564e0f397781cd7fe7d49eb0c0 (patch) | |
tree | 0206b9796b965245847719db4f2354b9874fcc08 /konsole/konsole/TEScreen.h | |
parent | 6a2392888f03f6efb263ba83e63125b19d0a9733 (diff) | |
download | tdebase-4934beb5506ba7564e0f397781cd7fe7d49eb0c0.tar.gz tdebase-4934beb5506ba7564e0f397781cd7fe7d49eb0c0.zip |
Konsole: Add support for ECMA-48 REP: repeating previous character
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>
Diffstat (limited to 'konsole/konsole/TEScreen.h')
-rw-r--r-- | konsole/konsole/TEScreen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/konsole/konsole/TEScreen.h b/konsole/konsole/TEScreen.h index 9797b53ab..557a07e4c 100644 --- a/konsole/konsole/TEScreen.h +++ b/konsole/konsole/TEScreen.h @@ -83,6 +83,7 @@ public: // these are all `Screen' operations void eraseChars (int n); void deleteChars (int n); void insertChars (int n); + void repeatChars (int n); void deleteLines (int n); void insertLines (int n); // @@ -271,6 +272,9 @@ private: // helper // last position where we added a character int lastPos; + // used in REP (repeating char) + unsigned short lastDrawnChar; + // modes ScreenParm saveParm; |