mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
fdm: use the FDM's poll loop
This commit is contained in:
parent
293adbb295
commit
5fefb950b3
5 changed files with 409 additions and 202 deletions
|
|
@ -401,6 +401,13 @@ struct terminal {
|
|||
bool was_flashing; /* Flash was active last time we rendered */
|
||||
bool was_searching;
|
||||
} render;
|
||||
|
||||
/* Temporary: for FDM */
|
||||
struct {
|
||||
bool is_armed;
|
||||
int lower_fd;
|
||||
int upper_fd;
|
||||
} delayed_render_timer;
|
||||
};
|
||||
|
||||
void term_reset(struct terminal *term, bool hard);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue