mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
render: resize: ignore ptmx read events during interactive resize
This commit is contained in:
parent
3565cbd636
commit
f4f1989b6e
3 changed files with 19 additions and 0 deletions
12
terminal.c
12
terminal.c
|
|
@ -233,6 +233,18 @@ static struct timespec last = {0};
|
|||
|
||||
static bool cursor_blink_rearm_timer(struct terminal *term);
|
||||
|
||||
void
|
||||
term_ptmx_pause(struct terminal *term)
|
||||
{
|
||||
fdm_event_del(term->fdm, term->ptmx, EPOLLIN);
|
||||
}
|
||||
|
||||
void
|
||||
term_ptmx_resume(struct terminal *term)
|
||||
{
|
||||
fdm_event_add(term->fdm, term->ptmx, EPOLLIN);
|
||||
}
|
||||
|
||||
/* Externally visible, but not declared in terminal.h, to enable pgo
|
||||
* to call this function directly */
|
||||
bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue