From f3931497f8aee291bce132fb106cedb55c5b3fa9 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Jun 2020 08:17:27 +0000 Subject: Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control mode %output blocks. --- tty-keys.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'tty-keys.c') diff --git a/tty-keys.c b/tty-keys.c index 2e375807..4904ba35 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -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); -- cgit