Blink: Support for newest mosh (256 colors)

Created on 10 Nov 2018  路  14Comments  路  Source: blinksh/blink

Hi,
In current mosh-stable 256 color support is not implemented. Would it be possible for the user to configure Blink to use the newest dev version of mosh from the mosh repository? This supports 256 color and fixes a lot of color issues with regards to vim themes on remote servers.
(Or could Blink support this by default? I ask for maybe a user configurated option since it鈥檚 not yet in stable so I doubt it could be the Blink default).
Thanks!

Most helpful comment

Progress update:

IMG_0076

All 14 comments

I'd like to see this as well - the latest mosh code has many improvements.

@cgull told us to hold on for a little bit with update.

May be something is changes since that time?

I suggest waiting for the full 24-bit color support.

Any news on this ?

Progress update:

IMG_0076

Awesome! Is this coming in the next release?

We should release this week.

Hi @yury, I'd like to know if the next release will solve the problem in the pic below?

Solarized Dark Blink+Mosh+Tmux+Solarized Dark Vim

fullsizeoutput_9e2

Update:

The workaround I'm using now is to place let g:solarized_termtrans=1 in .vimrc, which I found from here and here. And this workaround causes the color displayed by Blink to be inconsistent with macOS Terminal. Note that Termius doesn't have this problem, so I'd love to know why.

From this thread I was thinking the TestFlight version that just dropped (12.9 Build 105) would have this, but maybe not, or maybe there鈥檚 something more that must be configured by the user on one end or the other?

ssh:
IMG_0741

mosh:
IMG_0742

(The script I鈥檓 using is here; it鈥檚 using the ^[48;2;<r>;<g>;<b>m form for background color, which seems to be the most common and the one that鈥檚 also demonstrated in the AWK script posted by @yury above.)

@treyharris you have to install mosh server from master too. (brew install --HEAD mosh on macOS)

@yury Oh! I thought from the earlier commit that 1.3.2+ was what was required. Okay, I鈥檒l give that a try.

@yury Perfect!

Formerly:

Package: mosh
Version: 1.3.2-2build1
...

Now:

Package: mosh
Version: 1.3.2+1354-0ppa~ubuntu18.04.1

IMG_0744

Ok, closing this issue. Feel free to reopen if needed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

s8m2s picture s8m2s  路  5Comments

treyharris picture treyharris  路  3Comments

nriley picture nriley  路  3Comments

Yannmm picture Yannmm  路  3Comments

peppy picture peppy  路  4Comments