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

Getting mosh work on Windows with truecolor (24-bit) #1288

Closed
ppetr opened this issue Aug 12, 2023 · 3 comments
Closed

Getting mosh work on Windows with truecolor (24-bit) #1288

ppetr opened this issue Aug 12, 2023 · 3 comments
Labels

Comments

@ppetr
Copy link

ppetr commented Aug 12, 2023

I'm double-posting my SO question https://superuser.com/q/1803653/162491 here in case this happens to be a known bug/issue:


I'm trying to get mosh.org work on Windows with truecolor (24-bit) support. Mosh includes truecolor support since version 1.4. However:


Then I tried to compile Mosh 1.4 from source on WSL. It compiled just fine:

% mosh --version
mosh 1.4.0 [build mosh-1.4.0-19-g1105d48]

I have COLORTERM=truecolor set. Truecolor support works locally within Windows Terminal, tested with https://github.com/termstandard/colors.

enter image description here

I also have

% cat ~/.ssh/config
SendEnv             COLORTERM

so that the variable propagates to the remote system.

When connecting via ssh, truecolor support works. But when connecting via mosh 1.4 (and also 1.3.2), truecolor still doesn't work.

enter image description here

Any ideas how to debug the problem further?

@achernya
Copy link
Collaborator

What version of mosh is on your server? Both client and server need to be updated to 1.4.0 or newer.

@ppetr
Copy link
Author

ppetr commented Aug 12, 2023

Ah, I didn't realize that, that's for sure the problem. Thanks!

@ppetr
Copy link
Author

ppetr commented Aug 12, 2023

Works 👍

@ppetr ppetr closed this as completed Aug 12, 2023
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