mobile-shell / mobile-shell/mosh
Wrong colors in Vim
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 14.5k
- Forks
- 865
- PR merge metrics
- No merged PRs in 30d
Description
For some reason the colours in Vim are all messed up when I use mosh. When I use ssh its working fine. When I check the terminal using mosh however, it shows the colours as 256, which is correct. Also if I execute tmux over mosh, all the colours are then correct in Vim.
I tried mosh on mintty and blink which are 2 very different clients so I suspect that is is some sort of setup issue on the machine where the server is setup rather than the client.
I've had a look through previous issues posted, but haven't found anything that could help me, or on things that could have been related (with regards to .bashrc or .profile) the things to do were not very clear. Any ideas?
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 reproducing the color difference in Vim over mosh and ssh, then compare the behavior when tmux runs over mosh. Check the server-side terminal setup and the reported 256-color value; done means identifying a reproducible cause and a verified correction or clear configuration guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100