diff options
author | Thomas Adam <thomas@xteddy.org> | 2020-10-13 10:01:19 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2020-10-13 10:01:19 +0100 |
commit | 9ab81e1879837a8b97e67e9856d7c64e9c865077 (patch) | |
tree | a4263e8a0708c97e48b83f0a402e3aca3f3e6a9c /tty-term.c | |
parent | 30601d11a8db34ecda953621488d2e3fe84ebf6f (diff) | |
parent | d603dbdef007c879dfb812d569289119e61b4d3f (diff) | |
download | rtmux-9ab81e1879837a8b97e67e9856d7c64e9c865077.tar.gz rtmux-9ab81e1879837a8b97e67e9856d7c64e9c865077.tar.bz2 rtmux-9ab81e1879837a8b97e67e9856d7c64e9c865077.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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_SETRGBB))) 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. */ tty_apply_features(term, *feat); |