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.
This commit is contained in:
nicm
2022-03-24 12:07:25 +00:00
committed by Nicholas Marriott
parent 89a0046ad3
commit d4eda7f9e5
3 changed files with 3 additions and 4 deletions

View File

@@ -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);