config: add color.sixelN options

These options allows you to configure the default sixel color palette.
This commit is contained in:
Daniel Eklöf 2024-10-23 08:35:30 +02:00
parent e891abdd6a
commit 511aad419b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 64 additions and 38 deletions

2
dcs.c
View file

@ -461,7 +461,7 @@ dcs_hook(struct terminal *term, uint8_t final)
break;
}
int p1 = vt_param_get(term, 0, 0);
int p2 = vt_param_get(term, 1,0);
int p2 = vt_param_get(term, 1, 0);
int p3 = vt_param_get(term, 2, 0);
term->vt.dcs.put_handler = sixel_init(term, p1, p2, p3);