Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get 24bit True Colors to work on macOS? (mosh 1.3.2) #945

Closed
norman-thomas opened this issue Nov 23, 2017 · 2 comments
Closed

How to get 24bit True Colors to work on macOS? (mosh 1.3.2) #945

norman-thomas opened this issue Nov 23, 2017 · 2 comments
Labels

Comments

@norman-thomas
Copy link

Hi,
sorry for this, if it's just too obvious.
I've been trying to get the true colors to work with mosh, but somehow it always fails for me.

I use mosh 1.3.2 for both client and server. On macOS (10.13.1) I tried both the HomeBrew and compiled version. For the server I tried both macOS and Ubuntu 16.04 (with self-compiled mosh 1.3.2).

True Colors work flawlessly via SSH:

screen shot 2017-11-23 at 11 07 40

Using mosh 24bit colors are broken while 256 colors work:

screen shot 2017-11-23 at 11 21 27

I used this 24bit color test script.

I did read through #649 and #939.
Am I missing any additional configuration needed to make this work?

To sum up my environment:

  • mosh 1.3.2
  • macOS 10.13.1 + Ubuntu 16.04
  • iTerm 3.1.5 with xterm-256color setting
  • zsh on both client and server
@cgull
Copy link
Member

cgull commented Nov 23, 2017

True color support is not in 1.3.2, or any release, yet. You need to install Mosh from Git master, on both client and server. Fortunately this is really easy for both macOS and Ubuntu, use brew install --HEAD mosh and the Ubuntu PPAs.

@cgull cgull closed this as completed Nov 23, 2017
@norman-thomas
Copy link
Author

@cgull Thanks for the help!

And sorry about the ticket, I thought 1.3.2 already included this feature.

@cgull cgull added the support label Nov 23, 2017
dguo added a commit to dguo/dotfiles that referenced this issue Jul 20, 2018
True color support is implemented in Mosh but hasn't been included in
any release yet. The recommendation is to install Mosh from Git master.

See mobile-shell/mosh#945
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants