mobile-shell / mobile-shell/mosh

Mosh does not transmit OSC 7 ; title BEL sequence to client

Open
#552 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature Terminal emulation
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.