ZWJ sequence emoji in filename titles breaks rendering on Terminal.app
- Dominant language
- Rust
- Stars
- 14.6k
- Forks
- 734
- Avg merge
- 8h 40m
- Merged PRs (30d)
- 4
Description
MacOS version: `26.0.1 (25A362)`
I've noticed that when you use `edit` on Terminal.app and edit a file with a ZWJ emoji in the filename (e.g. 🏳️⚧️, 🐈⬛), it breaks the editor rendering completely:
https://github.com/user-attachments/assets/5fbb3da1-2e2b-477b-a985-28bed5a3b59e
The problem is not reproducible on iTerm2
https://github.com/user-attachments/assets/2aa30843-df14-4af1-8b5a-fc5c50d3a1f0
It also doesn't repro in Terminal.app with ASCII filenames.
Contributor guide
Research direction
Reproduce with `edit` on macOS Terminal.app using filenames containing 🏳️⚧️ or 🐈⬛, then compare with iTerm2 and ASCII filenames. Trace the terminal rendering path implicated by the reproduction; done means ZWJ-emoji filenames no longer break rendering in Terminal.app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100