forked from microsoft/terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix session restoration of full buffers (microsoft#17654)
This removes the `Terminal::SetViewportPosition` call from session restoration which was responsible for putting the viewport below the buffer height and caused the renderer to fail. In order to prevent such issues in the future, `SetViewportPosition` now protects itself against out of bounds requests. Closes microsoft#17639 ## Validation Steps Performed * Enable persistence * Print `big.txt` * Restart * Looks good ✅
- Loading branch information
Showing
2 changed files
with
15 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters