mirror of
https://github.com/KDE/konsole.git
synced 2025-12-28 01:38:03 -05:00
RIS goes to (1,1) and clears tab stops
RIS (ESC c) - Hard Reset should move the cursor to (1,1) and clear tab stops. From esctest: RISTests.test_RIS_CursorToOrigin RISTests.test_RIS_ResetTabs
This commit is contained in:
@@ -754,6 +754,7 @@ void Screen::reset()
|
||||
// Clear screen, but preserve the current line
|
||||
scrollUp(0, _cuY);
|
||||
_cuY = 0;
|
||||
_cuX = 0;
|
||||
|
||||
_currentModes[MODE_Origin] = 0;
|
||||
_savedModes[MODE_Origin] = 0;
|
||||
@@ -774,6 +775,7 @@ void Screen::reset()
|
||||
// Other terminal emulators reset the entire scroll history during a reset
|
||||
// setScroll(getScroll(), false);
|
||||
|
||||
initTabStops();
|
||||
setDefaultRendition();
|
||||
saveCursor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user