[Konsole-devel] [Bug 55343] Feature Request: an option to preserve the scrollback buffer after a screen clear
Kurt V.Hindenburg
kurt.hindenburg at kdemail.net
Sat Jan 29 18:27:08 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=55343
kurt.hindenburg kdemail net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From kurt.hindenburg kdemail net 2005-01-29 19:27 -------
CVS commit by hindenburg:
BUG: 55343 Add entire screen text to history before clearing it
M +4 -0 TEScreen.cpp 1.85
--- kdebase/konsole/konsole/TEScreen.cpp #1.84:1.85
@ -1017,4 +1017,8 @ void TEScreen::clearToBeginOfScreen()
void TEScreen::clearEntireScreen()
{
+ // Add entire screen to history
+ for (int i = 0; i < (lines-1); i++)
+ addHistLine(); scrollUp(0,1);
+
clearImage(loc(0,0),loc(columns-1,lines-1),' ');
}
More information about the konsole-devel
mailing list