mobile-shell / mobile-shell/mosh
Mosh does not transmit OSC 7 ; title BEL sequence to client
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
Mosh parses OSC sequences and handles commands 0, 1, and 2 which set icon and title. However, it seems to discard other OSC sequences, including command 7, which Terminal.app on OS X uses to set the path that the Terminal window represents (which controls the icon used in the titlebar, as well as the behavior when cmd-clicking the titlebar). It would be great if Mosh could transmit this sequence to the client like it does with window title/icon.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Mosh's OSC parser and the handling for commands 0, 1, and 2. Trace how window title and icon sequences reach the client, then determine the corresponding path for OSC 7 terminated by BEL. Done means the client receives the OSC 7 sequence and Terminal.app can use it for the represented path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100