mirror of
https://github.com/tmux/tmux.git
synced 2025-01-09 01:28:49 +00:00
Assignment should be inside SIXEL.
This commit is contained in:
parent
605bf21ff2
commit
4266d3efc8
2
input.c
2
input.c
@ -2293,7 +2293,6 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
|||||||
|
|
||||||
if (wp == NULL)
|
if (wp == NULL)
|
||||||
return (0);
|
return (0);
|
||||||
w = wp->window;
|
|
||||||
|
|
||||||
if (ictx->flags & INPUT_DISCARD) {
|
if (ictx->flags & INPUT_DISCARD) {
|
||||||
log_debug("%s: %zu bytes (discard)", __func__, len);
|
log_debug("%s: %zu bytes (discard)", __func__, len);
|
||||||
@ -2301,6 +2300,7 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_SIXEL
|
#ifdef ENABLE_SIXEL
|
||||||
|
w = wp->window;
|
||||||
if (buf[0] == 'q') {
|
if (buf[0] == 'q') {
|
||||||
si = sixel_parse(buf, len, w->xpixel, w->ypixel);
|
si = sixel_parse(buf, len, w->xpixel, w->ypixel);
|
||||||
if (si != NULL)
|
if (si != NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user