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
wilder
Luis Javier Merino Morán 5 years ago
parent 22f8430275
commit c3b3ef1905
  1. 2
      src/Screen.cpp

@ -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();
}

Loading…
Cancel
Save