diff --git a/README.md b/README.md index 2b1c85a..a8e6a61 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/murx.1 b/murx.1 index b4080b3..b4893b9 100644 --- a/murx.1 +++ b/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.