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 4aa980a6a2.
This commit is contained in:
Craig Barnes 2022-02-16 17:31:09 +00:00
parent 9db416ccdc
commit f066f28026

2
csi.c
View file

@ -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;