mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Change terminal-overrides to a server option (now that we have them), it
doesn't make much sense as a session option.
This commit is contained in:
@ -305,7 +305,7 @@ tty_term_override(struct tty_term *term, const char *overrides)
|
||||
}
|
||||
|
||||
struct tty_term *
|
||||
tty_term_find(char *name, int fd, const char *overrides, char **cause)
|
||||
tty_term_find(char *name, int fd, char **cause)
|
||||
{
|
||||
struct tty_term *term;
|
||||
const struct tty_term_code_entry *ent;
|
||||
@ -383,7 +383,10 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
|
||||
break;
|
||||
}
|
||||
}
|
||||
tty_term_override(term, overrides);
|
||||
|
||||
/* Apply terminal overrides. */
|
||||
s = options_get_string(&global_options, "terminal-overrides");
|
||||
tty_term_override(term, s);
|
||||
|
||||
/* Delete curses data. */
|
||||
del_curterm(cur_term);
|
||||
|
Reference in New Issue
Block a user