Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When any integrated terminal session prints output, the inline rename input for terminal sessions loses focus. This makes terminal renaming fail or become very hard to complete while another terminal is producing output.
The output does not need to come from the terminal being renamed. It can come from a different terminal session. The terminal does not need to be scrolling yet; a simple print event is enough to trigger the focus loss.
Steps to Reproduce
- Open two integrated terminal sessions.
- In terminal A, run:
for i in $(seq 1 100); do printf '%03d\n' "$i"; sleep 0.3; done - While terminal A is printing numbers, try to rename terminal B.
- Observe that the rename input loses focus as soon as terminal output occurs.
- After terminal A stops printing, try renaming terminal B again.
Expected Behavior
The terminal rename input should keep focus until I press Enter/Escape or click away, even if another terminal session prints output.
Actual:
The rename input loses focus when terminal output occurs, so the rename is interrupted.
Operating System
Linux
Version Information
- Cursor: 3.1.17
- Commit: fce1e9ab7844f9ea35793da01e634aa7e50bce90
- Package: cursor 3.1.17-1776628399, installed via apt/deb
- Build date: 2026-04-19T19:33:58.189Z
Does this stop you from using Cursor
No - Cursor works, but with this issue