-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot scroll in terminal window created by api until resize #20505
Comments
Ahhh! I'm seeing this too in the PowerShell extension. I thought it was something I was doing wrong :) |
The scrollbar now seems to work correctly in the insiders build when using powershell. |
@jsk01 this bug was a little flaky, I don't think any changes were made in this area. |
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 |
This problem is ok in windows 10. |
Windows 10 Pro (v 1607), VS Code 1.12.2 The issue still exists. |
Very annoying issue -_- |
@Tyriar Can reproduce with Python's 'Run Selection' command on Windows. Logging |
Sat together with @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 |
@Tyriar good to hear that 🐱 |
From @hun1ahpu on February 12, 2017 10:22
Environment data
VS Code version: 1.9.1
Python Extension version: 0.5.8
Python Version: 3
OS and version: win 10
Actual behavior
Mouse wheel scroll doesn't work
Scroll bar is not visible
After resizing the terminal window it starts working
Steps to reproduce:
Copied from original issue: DonJayamanne/pythonVSCode#739
The text was updated successfully, but these errors were encountered: