anthropics / anthropics/claude-code

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

Offen
#94,217 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:ide bug platform:macos
Vorherrschende Sprache
Python
Sterne
145k
Forks
23.1k
PR-Merge-Kennzahlen
PR-Kennzahlen ausstehend

Beschreibung

Image

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

When a file is opened, the prompt shows `> ◫ In `. 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the issue in Claude Code v2.1.270 running in Cursor's terminal on macOS: open a file, close its tab, and inspect the active-file prompt tag. Check whether backspace or /clear changes the stuck filename. Done means the “In ” tag disappears after the tab closes and can no longer be removed only through restarting the session.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
macos, python
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.