fdm: use the FDM's poll loop

This commit is contained in:
Daniel Eklöf 2019-10-27 11:46:18 +01:00
parent 293adbb295
commit 5fefb950b3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 409 additions and 202 deletions

View file

@ -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);