Add a couple of format c/f and c/b to emit colours.

This commit is contained in:
nicm
2026-07-01 13:12:17 +00:00
parent 724f85d275
commit e9396e59d9
5 changed files with 92 additions and 8 deletions

6
tmux.1
View File

@@ -6694,6 +6694,12 @@ results in
replaces a
.Nm
colour by its six-digit hexadecimal RGB value.
If an argument of
.Ql f
or
.Ql b
is given, it will instead produce the SGR escape sequence to set the foreground
or background colour respectively.
.Pp
A limit may be placed on the length of the resultant string by prefixing it
by an