mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Merge branch 'obsd-master'
Conflicts: tmux.c
This commit is contained in:
@ -410,11 +410,9 @@ tty_term_find(char *name, int fd, const char *overrides, char **cause)
|
||||
goto error;
|
||||
}
|
||||
|
||||
/* Figure out if we have 256 or 88 colours. */
|
||||
/* Figure out if we have 256. */
|
||||
if (tty_term_number(term, TTYC_COLORS) == 256)
|
||||
term->flags |= TERM_256COLOURS;
|
||||
if (tty_term_number(term, TTYC_COLORS) == 88)
|
||||
term->flags |= TERM_88COLOURS;
|
||||
|
||||
/*
|
||||
* Terminals without xenl (eat newline glitch) wrap at at $COLUMNS - 1
|
||||
|
Reference in New Issue
Block a user