summaryrefslogtreecommitdiffstats
path: root/tty-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2020-06-02 08:17:27 +0000
committernicm <nicm>2020-06-02 08:17:27 +0000
commitf3931497f8aee291bce132fb106cedb55c5b3fa9 (patch)
tree2acdacdac20714ab521508b93e362e35478ea06a /tty-keys.c
parent563b7331da2d31aca470389817c282a46da7c872 (diff)
Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control
mode %output blocks.
Diffstat (limited to 'tty-keys.c')
-rw-r--r--tty-keys.c2
1 files changed, 0 insertions, 2 deletions
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);