-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersterminal-layoutIssue relating to resizing, scroll bar position, terminal dimensions, etc.Issue relating to resizing, scroll bar position, terminal dimensions, etc.verifiedVerification succeededVerification succeeded
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.97.2
- OS Version: Ubuntu 24.04
Summary
The workbench.action.terminal.clear command doesn't reset the scrollbar. It will correctly clear any previous output text, but it won't reset the scrollbar. The scrollbar still reacts to the scroll wheel on my mouse, but it doesn't scroll the text. However, the scrollbar will reset and scroll text properly once the current output is higher than the height of the terminal.
Before invoking the clear command:

After invoking the clear command:

Steps to Reproduce:
- Set a key binding for
workbench.action.terminal.clear(I set mine to Ctrl+K) - Fill terminal with output past the terminal's height so that there's a scrollbar
- Invoke the keybinding for
workbench.action.terminal.clear(Ctrl+K)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersterminal-layoutIssue relating to resizing, scroll bar position, terminal dimensions, etc.Issue relating to resizing, scroll bar position, terminal dimensions, etc.verifiedVerification succeededVerification succeeded