-
Notifications
You must be signed in to change notification settings - Fork 39.4k
Terminal content goes missing when resizing (powershell/conpty) #78634
Copy link
Copy link
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelterminal-conptyIntegrated terminal issues related to the ConPTY backendIntegrated terminal issues related to the ConPTY backendupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstreamverifiedVerification succeededVerification succeededwindowsVS Code on Windows issuesVS Code on Windows issues
Milestone
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelGeneral terminal issues that don't fall under another labelterminal-conptyIntegrated terminal issues related to the ConPTY backendIntegrated terminal issues related to the ConPTY backendupstreamIssue identified as 'upstream' component related (exists outside of VS Code)Issue identified as 'upstream' component related (exists outside of VS Code)upstream-issue-linkedThis is an upstream issue that has been reported upstreamThis is an upstream issue that has been reported upstreamverifiedVerification succeededVerification succeededwindowsVS Code on Windows issuesVS Code on Windows issues
Issue Type: Bug
Using Powershell as terminal:
"terminal.integrated.shell.windows": "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe",
"powershell.integratedConsole.showOnStartup": false,
Expected behavior: Console "top" is not reset and all output can be viewed
Actual behavior: Console history is lost.
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)

OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
Extensions (3)