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:
parent
88cdcb2935
commit
f04deae31c
2 changed files with 9 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
7
murx.1
7
murx.1
|
|
@ -269,9 +269,10 @@ Menus use a black background with a colour12 frame, colour11 titles and
|
|||
selection, colour14 accents and dim colour8 separators and help text.
|
||||
.PP
|
||||
UTF-8, wide characters, application cursor keys, 256 colors and alternate
|
||||
screens are supported. Output uses 256-color escapes, or truecolor when
|
||||
COLORTERM advertises truecolor and TERM does not identify screen, tmux or linux.
|
||||
Otherwise truecolor is mapped to the nearest xterm-256 entry.
|
||||
screens are supported. Output uses 256-color SGR by default. RGB pane colours
|
||||
are passed through as 24-bit SGR when COLORTERM is truecolor or 24bit and TERM
|
||||
does not start with screen, tmux, linux, or dumb; otherwise RGB is mapped to
|
||||
the nearest xterm-256 entry.
|
||||
.SH SESSION SIZE
|
||||
The most recently attached or resized client determines the session size,
|
||||
with a minimum of 20 columns and 5 rows.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue