mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
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:
parent
9db416ccdc
commit
f066f28026
1 changed files with 1 additions and 1 deletions
2
csi.c
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue