mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 11:18:48 +00:00
Merge branch 'obsd-master' into master
This commit is contained in:
commit
b638886716
2
colour.c
2
colour.c
@ -128,7 +128,7 @@ colour_tostring(int c)
|
|||||||
u_char r, g, b;
|
u_char r, g, b;
|
||||||
|
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
return ("invalid");
|
return ("none");
|
||||||
|
|
||||||
if (c & COLOUR_FLAG_RGB) {
|
if (c & COLOUR_FLAG_RGB) {
|
||||||
colour_split_rgb(c, &r, &g, &b);
|
colour_split_rgb(c, &r, &g, &b);
|
||||||
|
@ -277,6 +277,7 @@ const struct options_table_entry options_table[] = {
|
|||||||
.minimum = 0,
|
.minimum = 0,
|
||||||
.maximum = INT_MAX,
|
.maximum = INT_MAX,
|
||||||
.default_num = 500,
|
.default_num = 500,
|
||||||
|
.unit = "milliseconds",
|
||||||
.text = "Time to wait before assuming a key is Escape."
|
.text = "Time to wait before assuming a key is Escape."
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -680,9 +680,7 @@ window_customize_draw_option(struct window_customize_modedata *data,
|
|||||||
}
|
}
|
||||||
ft = format_create_from_state(NULL, NULL, &fs);
|
ft = format_create_from_state(NULL, NULL, &fs);
|
||||||
|
|
||||||
if (oe == NULL)
|
if (oe == NULL || oe->text == NULL)
|
||||||
text = "This is a user option.";
|
|
||||||
else if (oe->text == NULL)
|
|
||||||
text = "This option doesn't have a description.";
|
text = "This option doesn't have a description.";
|
||||||
else
|
else
|
||||||
text = oe->text;
|
text = oe->text;
|
||||||
|
Loading…
Reference in New Issue
Block a user