Skip to content

Commit

Permalink
Set the screen mode back to normal when an RIS hard reset is triggered.
Browse files Browse the repository at this point in the history
  • Loading branch information
j4james committed Dec 3, 2019
1 parent be447fc commit a47026d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/terminal/adapter/adaptDispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1602,6 +1602,12 @@ bool AdaptDispatch::HardReset()
fSuccess = _EraseScrollback();
}

// Set the DECSCNM screen mode back to normal.
if (fSuccess)
{
fSuccess = SetScreenMode(false);
}

// Cursor to 1,1 - the Soft Reset guarantees this is absolute
if (fSuccess)
{
Expand Down

0 comments on commit a47026d

Please sign in to comment.