aboutsummaryrefslogtreecommitdiff
path: root/colour.c
diff options
context:
space:
mode:
authornicm <nicm>2022-03-24 12:07:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2022-04-06 14:19:51 +0100
commitd4eda7f9e5d33c613bb22770a677779ffbe9b363 (patch)
tree16335b1fb05f4ad812f04c2bd296312db0fc1bb0 /colour.c
parent89a0046ad360d7a499732e327bae69b7e4b2536e (diff)
downloadrtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.tar.gz
rtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.tar.bz2
rtmux-d4eda7f9e5d33c613bb22770a677779ffbe9b363.zip
Add unit (milliseconds) to escape-time, show unset colours as "none"
rather than "invalid" and don't show the same text twice for user options in customize mode.
Diffstat (limited to 'colour.c')
-rw-r--r--colour.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/colour.c b/colour.c
index 6ede25da..a282d182 100644
--- a/colour.c
+++ b/colour.c
@@ -128,7 +128,7 @@ colour_tostring(int c)
u_char r, g, b;
if (c == -1)
- return ("invalid");
+ return ("none");
if (c & COLOUR_FLAG_RGB) {
colour_split_rgb(c, &r, &g, &b);