Active file tag ("In <filename>") stuck in Cursor terminal prompt after closing tab

Status Open
Maintainer reply None cached
Activity 0 comments · opened Sep 14, 2026

<img width="2294" height="930" alt="Image" src="https://github.com/user-attachments/assets/65706b70-3579-44ec-be27-0b93933b1647" />

Running Claude Code v2.1.270 in Cursor's terminal on macOS.

When a file is opened, the prompt shows > ◫ In <filename>. But after closing the tab, the filename tag remains stuck in the prompt and can't be removed — backspace doesn't delete it, and running /clear doesn't clear it either.

View original on GitHub ↗