mirror of
https://github.com/tmux/tmux.git
synced 2025-12-24 01:16:03 +00:00
Merge branch 'obsd-master'
Conflicts: Makefile tty-keys.c
This commit is contained in:
@@ -308,7 +308,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;
|
||||
@@ -386,7 +386,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. */
|
||||
#if !defined(NCURSES_VERSION_MAJOR) || NCURSES_VERSION_MAJOR > 5 || \
|
||||
|
||||
Reference in New Issue
Block a user