mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@ -420,6 +420,7 @@ tty_term_find(char *name, int fd, char **cause)
|
||||
struct tty_code *code;
|
||||
struct options_entry *o;
|
||||
struct options_array_item *a;
|
||||
union options_value *ov;
|
||||
u_int i;
|
||||
int n, error;
|
||||
const char *s, *acs;
|
||||
@ -497,9 +498,9 @@ tty_term_find(char *name, int fd, char **cause)
|
||||
o = options_get_only(global_options, "terminal-overrides");
|
||||
a = options_array_first(o);
|
||||
while (a != NULL) {
|
||||
s = options_array_item_value(a);
|
||||
if (s != NULL)
|
||||
tty_term_override(term, s);
|
||||
ov = options_array_item_value(a);
|
||||
if (ov != NULL)
|
||||
tty_term_override(term, ov->string);
|
||||
a = options_array_next(a);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user