diff options
author | Jesse Luehrs <doy@tozt.net> | 2017-02-12 19:46:13 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2017-02-12 19:46:13 -0500 |
commit | 6ee215a7797cbb15aed6136ccfcaf5daff5ae654 (patch) | |
tree | 718b88f2b96ba35478e28ea2039f0054789b04af /src/loop.h | |
parent | eab84456897848eb9c6a0d24eb8f5e2fbc4f8969 (diff) | |
download | runes-6ee215a7797cbb15aed6136ccfcaf5daff5ae654.tar.gz runes-6ee215a7797cbb15aed6136ccfcaf5daff5ae654.zip |
combine flushes when reading large amounts of data
on linux at least, you can only read 4096 bytes of data from a pty, so
large writes would cause a lot of redraws
Diffstat (limited to 'src/loop.h')
-rw-r--r-- | src/loop.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -15,6 +15,7 @@ void runes_loop_start_work( void *runes_loop_timer_set( RunesLoop *loop, int timeout, void *t, void (*cb)(void*)); void runes_loop_timer_clear(RunesLoop *loop, void *arg); +void runes_loop_at_idle(RunesLoop *loop, void *t, void (*cb)(void*)); void runes_loop_delete(RunesLoop *loop); #endif |