Terminal window scroll jumps to the top frequently when scrolling with the scroll wheel

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

With the terminal window open in the Cursor IDE, after running a shell command of some kind, then trying to scroll back and forth a few lines with the mouse scroll wheel, the terminal window scroll bar frequently jumps all the way to the top of the history. This requires the user to then grab the scroll bar thumb and drag it back to the bottom to recover.

This happens several times a day on average. Using Windows 11, Cursor IDE 2.3.35 (but it’s been happening for a month or so with prior Cursor versions).

Sounds exactly like another issue from a prior forum post:

Steps to Reproduce

Can not reproduce at will. It happens randomly a few times a day, after running a shell command in the terminal (e.g. grepping the workspace or cat’ing a file) and then using the mouse scroll wheel to scroll up and down in that last command’s output.

Expected Behavior

Expected behavior is that the terminal scrolls up and down just a few lines.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.35 (system setup)
VSCode Version: 1.105.1
Commit: cf8353edc265f5e46b798bfb276861d0bf3bf120
Date: 2026-01-13T07:39:18.564Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue. The same behavior was reported here: The integrated terminal has a scroll issue: TO THE TOP!, and the team is tracking it.

It’s random and hard to reproduce, but based on other reports it happens more often:

  • After printing a lot of text
  • When trying to select text with the mouse
  • When quickly scrolling up and down

If you have a video of it happening, or you’ve noticed any patterns for when it occurs, please share them. It’ll help the devs investigate faster.

I noticed that after running a command that changes the terminal to the alternative screen, i.e. “less” or “vim”, and exiting, if I immediately scroll with the mouse wheel either up or down, the Cursor terminal window jumps to the top.

  1. run echo | less then hit q to exit
  2. notice that the cursor terminal window’s scrollbar thumb is up at the top even though the window content shows the recent screenful of content that we saw before running less
  3. scroll up or down one click with the mouse wheel - the terminal content jumps back to the oldest screenful in the buffer (but it’s consistent with the scrollbar visual thumb position now)