Changed the Ctrl-L behavior: The current screen is now scrolled up completely
instead of actually clearing it, so that it is still in the history. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32398 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -709,6 +709,14 @@ BasicTerminalBuffer::EraseBelow()
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BasicTerminalBuffer::EraseAll()
|
||||
{
|
||||
fSoftWrappedCursor = false;
|
||||
_Scroll(fScrollTop, fScrollBottom, fHeight);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
BasicTerminalBuffer::DeleteChars(int32 numChars)
|
||||
{
|
||||
|
||||
@@ -114,6 +114,7 @@ public:
|
||||
void EraseChars(int32 numChars);
|
||||
void EraseAbove();
|
||||
void EraseBelow();
|
||||
void EraseAll();
|
||||
void DeleteChars(int32 numChars);
|
||||
void DeleteColumns();
|
||||
void DeleteLines(int32 numLines);
|
||||
|
||||
@@ -640,8 +640,7 @@ TermParse::EscParse()
|
||||
break;
|
||||
|
||||
case 2:
|
||||
fBuffer->EraseBelow();
|
||||
fBuffer->EraseAbove();
|
||||
fBuffer->EraseAll();
|
||||
break;
|
||||
}
|
||||
parsestate = groundtable;
|
||||
|
||||
Reference in New Issue
Block a user