Assignment should be inside SIXEL.

pull/3809/head
Nicholas Marriott 2023-12-28 03:12:27 +00:00
parent 605bf21ff2
commit 4266d3efc8
1 changed files with 1 additions and 1 deletions

View File

@ -2293,7 +2293,6 @@ input_dcs_dispatch(struct input_ctx *ictx)
if (wp == NULL)
return (0);
w = wp->window;
if (ictx->flags & INPUT_DISCARD) {
log_debug("%s: %zu bytes (discard)", __func__, len);
@ -2301,6 +2300,7 @@ input_dcs_dispatch(struct input_ctx *ictx)
}
#ifdef ENABLE_SIXEL
w = wp->window;
if (buf[0] == 'q') {
si = sixel_parse(buf, len, w->xpixel, w->ypixel);
if (si != NULL)