mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Turn off overlay check when we know we are inside.
This commit is contained in:
parent
3f1fc9cde3
commit
1fa9bcc183
9
popup.c
9
popup.c
@ -367,6 +367,7 @@ popup_job_update_cb(struct job *job)
|
||||
{
|
||||
struct popup_data *pd = job_get_data(job);
|
||||
struct evbuffer *evb = job_get_event(job)->input;
|
||||
struct client *c = pd->c;
|
||||
struct screen *s = &pd->s;
|
||||
void *data = EVBUFFER_DATA(evb);
|
||||
size_t size = EVBUFFER_LENGTH(evb);
|
||||
@ -374,9 +375,13 @@ popup_job_update_cb(struct job *job)
|
||||
if (size == 0)
|
||||
return;
|
||||
|
||||
pd->c->tty.flags &= ~TTY_FREEZE;
|
||||
c->overlay_check = NULL;
|
||||
c->tty.flags &= ~TTY_FREEZE;
|
||||
|
||||
input_parse_screen(pd->ictx, s, popup_init_ctx_cb, pd, data, size);
|
||||
pd->c->tty.flags |= TTY_FREEZE;
|
||||
|
||||
c->tty.flags |= TTY_FREEZE;
|
||||
c->overlay_check = popup_check_cb;
|
||||
|
||||
evbuffer_drain(evb, size);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user