Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Issue Type: Bug
Using Powershell as terminal:
Expected behavior: Console "top" is not reset and all output can be viewed
This used to work correctly several versions ago and console history was preserved when the console was toggled. I use this by keeping my build watchers running in a small window at the bottom while I code and a hotkey to toggle the console maximize when I need to see the results of the watchers. Normally, I only need to see 3-4 lines when the watchers succeed, then when there's an error, I can toggle the maximize and scroll back to see the results. With this bug, my workflow is hindered greatly as I have to keep a separate console open and alt-tab over and over to see the results.
VS Code version: Code 1.36.1 (2213894, 2019-07-08T22:59:35.033Z)
Looks like this is an issue with windows mode in xterm.js, we should not try to push the rows down when in windows mode like we do on *nix because conpty will redraw the screen and it always has overscroll. The edge case when the buffer is full might need to behave differently though.