aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorCraig Barnes <craigbarnes@protonmail.com>2022-02-16 17:31:09 +0000
committerCraig Barnes <craigbarnes@protonmail.com>2022-02-16 17:31:09 +0000
commitf066f280263f8ec769b7683e59ec976cc11268a5 (patch)
treee8d8cc1bf320438e311d89f30f08a811af0ee50d /csi.c
parentdoc: ctlseq: tweak formatting of OSC 22 sequence slightly, for clarity (diff)
csi: fix case label typo in decrqm()
The other functions that deal with private modes all use 1070 for term->sixel.use_private_palette. The xterm docs[1] also list this param as 1070: > Ps = 1 0 7 0 ⇒ use private color registers for each graphic Using 1079 seems to have been a mistake in commit 4aa980a6a2ce3c3.
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 02b44065..84ecd24b 100644
--- a/csi.c
+++ b/csi.c
@@ -621,7 +621,7 @@ decrqm(const struct terminal *term, unsigned param, bool *enabled)
case 47: /* FALLTHROUGH */
case 1047: /* FALLTHROUGH */
case 1049: *enabled = term->grid == &term->alt; return true;
- case 1079: *enabled = term->sixel.use_private_palette; return true;
+ case 1070: *enabled = term->sixel.use_private_palette; return true;
case 2004: *enabled = term->bracketed_paste; return true;
case 2026: *enabled = term->render.app_sync_updates.enabled; return true;
case 8452: *enabled = term->sixel.cursor_right_of_graphics; return true;