1
0
Fork 0
forked from murx/murx

Document truecolor passthrough conditions

Describe the 24bit COLORTERM value, the TERM guard against
screen/tmux/linux/dumb and the nearest-256-color fallback in the
README and the manual.
This commit is contained in:
Armin 2026-11-22 04:04:58 +01:00
commit f04deae31c
2 changed files with 9 additions and 7 deletions

View file

@ -382,10 +382,11 @@ background for all attached clients. Supply six hexadecimal digits, such as
`000000` for black. The session remembers the color across reattachments. New
sessions use the terminal's default background unless a color is supplied.
Colours are written to the outer terminal in 256-colour form (`38;5;n` /
`48;5;n`). Truecolor from a pane is mapped to the nearest xterm-256 entry,
unless the outer terminal advertises `COLORTERM=truecolor` and is not
screen/tmux/linux.
Colours are written to the outer terminal using 256-colour SGR (`38;5;n` /
`48;5;n`) by default. RGB pane colours are passed through as 24-bit SGR when
the outer terminal advertises `COLORTERM=truecolor` or `COLORTERM=24bit` and
`TERM` does not start with `screen`, `tmux`, `linux`, or `dumb`; otherwise RGB
is mapped to the nearest xterm-256 entry.
The terminal window title is set to `[murx] program`, following the active
murx window, or `[murx] hostname:program` with `--hostname`. Hostnames use