Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control

mode %output blocks.
This commit is contained in:
nicm
2020-06-02 08:17:27 +00:00
parent 563b7331da
commit f3931497f8
6 changed files with 41 additions and 19 deletions

View File

@@ -637,8 +637,6 @@ tty_keys_next(struct tty *tty)
struct mouse_event m = { 0 };
struct key_event *event;
gettimeofday(&tv, NULL);
/* Get key buffer. */
buf = EVBUFFER_DATA(tty->in);
len = EVBUFFER_LENGTH(tty->in);