summaryrefslogtreecommitdiffstats
path: root/tty-term.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-11-11 10:01:09 +0000
committerThomas Adam <thomas@xteddy.org>2022-11-11 10:01:09 +0000
commit1536b7e206e51488c37379df22b8c58ef3febc28 (patch)
tree82b6a369e35326c35c7f6149fbdcd348cfb8ce60 /tty-term.c
parente46d0632a5ed8e9fbc90ae49039e84450fba4925 (diff)
parent20da16737715a183a019f1072735614615b5fd1c (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tty-term.c b/tty-term.c
index 8c3e8e8d..4e9b7799 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -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))