Terminal selection breaks when terminal text wraps on resize

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the Editor, when I select lines in the terminal and then resize the IDE horizontally, the selection changes if the terminal text is forced to wrap. When I resize the IDE back to its original width, the selection may or may not match the original one, if the resize is of the same exact width.

For example, if I toggle the left panel (file explorer) or right panel (Chat), the selected lines in the terminal shift whenever the terminal becomes narrow enough for the text to wrap onto multiple lines.

Steps to Reproduce

  1. Select some lines in the terminal while the right panel (Chat) is either open or closed.
  2. Toggle the right panel.
  3. Notice that the terminal selection changes.
  4. Toggle the right panel again.
  5. The selection reverts to the original lines. (But it wouldn’t if the resize was done manually to a different size).

Expected Behavior

The lines selected in the terminal doesn’t change

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version : 2.0.75
Validation : 1.99.3
Date : 9e7a27b76730ca7fe4aecaeafc58bac1e2c82120
Electron : 2025-11-12T17:34:21.472Z (il y a 16 heures)
ElectronBuildId : 37.7.0
Chromium : undefined
Node.js : 138.0.7204.251
V8 : 22.20.0
Système d’exploitation : 13.8.258.32-electron.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report!

Could you please share a few more details to help investigate:

  • Does this happen in both regular terminals and agent-created terminals?
  • Is your terminal in the bottom panel or opened as an editor tab?
  • Could you record a short video showing the issue?

Looking forward to these details from you.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.