blink icon indicating copy to clipboard operation
blink copied to clipboard

mosh-server is always invoked with -c 256

Open majick opened this issue 3 years ago • 0 comments

Checklist

Configuration

default configuration

Describe the bug

When blink invokes mosh-server it passes what seems to be a hard coded -c 256 which completely disables 24 bit direct color. The -c parameter is not accepted in the configuration UI nor at connection time.

The docs claim that Blink supports direct color modes, which it does given the recent hterm, but it can't actually be used without ugly hacks.

Totally ugly workaround:

  1. Make a wrapper script and chuck it in the user's bin
#!/bin/sh
exec /usr/bin/mosh-server new -s -c 16777216 -l LC_ALL=en_US.UTF-8
  1. modify the host configuration's "Server" field to: /home/user/bin/mosh-wrapper

majick avatar Sep 18 '22 02:09 majick