mirror of
https://github.com/tmux/tmux.git
synced 2025-07-29 00:01:57 -04:00
Compare commits
No commits in common. "4266d3efc89cdf7d1af907677361caa24b58c9eb" and "bdf8e614af34ba1eaa8243d3a818c8546cb21812" have entirely different histories.
4266d3efc8
...
bdf8e614af
5
input.c
5
input.c
@ -2287,20 +2287,17 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
||||
const u_int prefixlen = (sizeof prefix) - 1;
|
||||
long long allow_passthrough = 0;
|
||||
#ifdef ENABLE_SIXEL
|
||||
struct window *w;
|
||||
struct window *w = wp->window;
|
||||
struct sixel_image *si;
|
||||
#endif
|
||||
|
||||
if (wp == NULL)
|
||||
return (0);
|
||||
|
||||
if (ictx->flags & INPUT_DISCARD) {
|
||||
log_debug("%s: %zu bytes (discard)", __func__, len);
|
||||
return (0);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_SIXEL
|
||||
w = wp->window;
|
||||
if (buf[0] == 'q') {
|
||||
si = sixel_parse(buf, len, w->xpixel, w->ypixel);
|
||||
if (si != NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user