diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-09-05 09:09:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-09-05 09:09:45 +0000 |
| commit | b1a4d4384571a6aa2bfc97644a6dff7066afef0b (patch) | |
| tree | 94afad3aca8a5e3b46074f0c873c6af8d12a70b9 /sixel.c | |
| parent | sixel: avoid looking up color from palette for each sixel (diff) | |
sixel: call decsixel() directly, instead of going through sixel_put()
Diffstat (limited to 'sixel.c')
| -rw-r--r-- | sixel.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1401,7 +1401,7 @@ decgra(struct terminal *term, uint8_t c) } term->sixel.state = SIXEL_DECSIXEL; - sixel_put(term, c); + decsixel(term, c); break; } } @@ -1512,7 +1512,7 @@ decgci(struct terminal *term, uint8_t c) term->sixel.color = term->sixel.palette[term->sixel.color_idx]; term->sixel.state = SIXEL_DECSIXEL; - sixel_put(term, c); + decsixel(term, c); break; } } |
