mobile-shell / mobile-shell/mosh
SGR 2 (dim/dark) doesn't work
Open
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
Code:
echo -e '\e[2mtest'
python -c "from termcolor import colored; print(colored('test', attrs=['dark']))"
Outside mosh (using GNOME terminal):
Inside mosh:
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 running the provided echo -e '\e[2mtest' and termcolor commands inside and outside mosh to reproduce the difference. Trace how mosh handles the SGR 2 escape sequence, and consider the issue done when dim/dark text renders consistently inside mosh and the reproduction no longer shows a discrepancy.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100