Tweak previous to set and log the feature instead of just setting the

flag.
This commit is contained in:
nicm
2022-11-11 08:44:11 +00:00
parent fe475bd856
commit 20da167377
3 changed files with 20 additions and 14 deletions

View File

@ -454,6 +454,9 @@ tty_term_apply_overrides(struct tty_term *term)
a = options_array_next(a);
}
/* Log the SIXEL flag. */
log_debug("SIXEL flag is %d", !!(term->flags & TERM_SIXEL));
/* Update the RGB flag if the terminal has RGB colours. */
if (tty_term_has(term, TTYC_SETRGBF) &&
tty_term_has(term, TTYC_SETRGBB))