diff options
Diffstat (limited to 'src/interface.h')
-rw-r--r-- | src/interface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/interface.h b/src/interface.h index f22c023..02af8a2 100644 --- a/src/interface.h +++ b/src/interface.h @@ -41,6 +41,12 @@ * feature. */ +/** + * Interval between polling for keypresses (if necessary). + * In other words, this is the maximum latency to detect CTRL+C interruptions. + */ +#define TECO_POLL_INTERVAL 100000 /* microseconds */ + /** @protected */ extern teco_view_t *teco_interface_current_view; @@ -179,6 +185,9 @@ void teco_interface_stdio_msg(teco_msg_t type, const gchar *str, gsize len); /** @protected */ teco_int_t teco_interface_stdio_getch(gboolean widechar); +/** @protected */ +void teco_interface_refresh(gboolean force); + /** @pure */ void teco_interface_cleanup(void); |