[BUG] tui shows garbled file name with the VSCode extension

Status Open
Reported on v2.1.278
Maintainer reply None cached
Activity 0 comments · opened Sep 22, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When editing a file that contains brackets, e.g. [id].vue the tui shows [⧉ In [id).vue], note the ) instead of ]

<img width="438" height="137" alt="Image" src="https://github.com/user-attachments/assets/634554b3-e627-4578-946e-3fb4a4711153" />

What Should Happen?

When editing a file that contains brackets the tui should show the real filename [⧉ In [id].vue]

Error Messages/Logs

Steps to Reproduce

  1. Install the VSCode extension
  2. Create a file called [id].vue
  3. Launch claude code

Claude Model

Opus

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.1.278 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗