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:
@ -584,6 +584,9 @@ tty_term_create(struct tty *tty, char *name, int *feat, int fd, char **cause)
|
|||||||
(!tty_term_has(term, TTYC_SETRGBF) ||
|
(!tty_term_has(term, TTYC_SETRGBF) ||
|
||||||
!tty_term_has(term, TTYC_SETRGBB)))
|
!tty_term_has(term, TTYC_SETRGBB)))
|
||||||
tty_add_features(feat, "RGB", ",");
|
tty_add_features(feat, "RGB", ",");
|
||||||
|
if (tty_term_has(term, TTYC_SETRGBF) &&
|
||||||
|
tty_term_has(term, TTYC_SETRGBB))
|
||||||
|
term->flags |= TERM_RGBCOLOURS;
|
||||||
|
|
||||||
/* Apply the features and overrides again. */
|
/* Apply the features and overrides again. */
|
||||||
tty_apply_features(term, *feat);
|
tty_apply_features(term, *feat);
|
||||||
|
Reference in New Issue
Block a user