mobile-shell / mobile-shell/mosh
Mosh does not handle OSC 11 background color requests
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
Since vim 7.4.757, vim uses an \033]11;?\007 OSC code to request the RGB triplet for the background color, and uses the result to decide whether to render a dark or a light color scheme.
Since mosh does not forward this request to the host terminal, it renders vim differently than ssh in terminals which support this code.
See also:
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 tracing how mosh handles terminal OSC requests, using the reported OSC 11 background-color query as the entry point. No file or test is named in the issue; done means mosh forwards the request to the host terminal so Vim can select the same color scheme as over ssh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100