You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot scroll in terminal window created by api until resize #20505
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Strangely enough, I used to not get this bug, but now I do on the latest official release. I get this behavior with a Python file that is executing in the terminal - I cannot use the mouse scroll button to scroll the terminal, nor is there a scroll bar that I can click on available. However, once I use the resize arrow or actually drag to resize, the scrolling begins to work. It's quite annoying
Daniel Imms (@Tyriar) Can reproduce with Python's 'Run Selection' command on Windows. Logging this.charMeasure.height in Viewport.refresh() shows that charMeasure isn't initialized in time.
bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded
Activity
[-]Cannot scroll in terminal window[/-][+]Cannot scroll in terminal window created by api until resize[/+]daviwil commentedon Apr 5, 2017
Ahhh! I'm seeing this too in the PowerShell extension. I thought it was something I was doing wrong :)
jsk01 commentedon May 5, 2017
The scrollbar now seems to work correctly in the insiders build when using powershell.
Tyriar commentedon May 5, 2017
Jason Knighton (@jsk01) this bug was a little flaky, I don't think any changes were made in this area.
gandhis1 commentedon May 10, 2017
Strangely enough, I used to not get this bug, but now I do on the latest official release. I get this behavior with a Python file that is executing in the terminal - I cannot use the mouse scroll button to scroll the terminal, nor is there a scroll bar that I can click on available. However, once I use the resize arrow or actually drag to resize, the scrolling begins to work. It's quite annoying
stayfool commentedon May 22, 2017
This problem is ok in windows 10.
3 remaining items
chrmarti commentedon Jul 11, 2017
Daniel Imms (@Tyriar) Can reproduce with Python's 'Run Selection' command on Windows. Logging
this.charMeasure.heightinViewport.refresh()shows that charMeasure isn't initialized in time.Check if we still need to measure the char size (fixes microsoft/vsco…
Tyriar commentedon Jul 12, 2017
Sat together with Christof Marti (@chrmarti) yesterday to figure this thing out, the fix for this is coming in 1.15 🎉
It was an obscure bug that was happening when the terminal was created before the panel was shown. It was caused by eb85ea8 to fix #22328. The reason is because since we were not setting the pty and xterm.js to the correct size before the terminal existed, xterm.js didn't bother doing a proper resize and the adjustments necessary (like re-measuring the character size) here https://github.com/sourcelair/xterm.js/blob/85c892c218c5529efd01569b7dc9b1123ae53582/src/xterm.js#L1942
shmutalov commentedon Jul 13, 2017
Daniel Imms (@Tyriar) good to hear that 🐱
Uplevel xterm.js
CTRL+Cnot work in Terminal #30742Uplevel xterm.js