diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-11-11 10:01:09 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-11-11 10:01:09 +0000 |
commit | 1536b7e206e51488c37379df22b8c58ef3febc28 (patch) | |
tree | 82b6a369e35326c35c7f6149fbdcd348cfb8ce60 /tty-term.c | |
parent | e46d0632a5ed8e9fbc90ae49039e84450fba4925 (diff) | |
parent | 20da16737715a183a019f1072735614615b5fd1c (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r-- | tty-term.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -268,6 +268,7 @@ static const struct tty_term_code_entry tty_term_codes[] = { [TTYC_SETRGBF] = { TTYCODE_STRING, "setrgbf" }, [TTYC_SETULC] = { TTYCODE_STRING, "Setulc" }, [TTYC_SE] = { TTYCODE_STRING, "Se" }, + [TTYC_SXL] = { TTYCODE_FLAG, "Sxl" }, [TTYC_SGR0] = { TTYCODE_STRING, "sgr0" }, [TTYC_SITM] = { TTYCODE_STRING, "sitm" }, [TTYC_SMACS] = { TTYCODE_STRING, "smacs" }, @@ -456,6 +457,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)) |