summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty-keys.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-06-02 08:17:27 +0000
committernicm <nicm@openbsd.org>2020-06-02 08:17:27 +0000
commitcf8132c5c133cd5c76b9c1b8f921ac116f75e564 (patch)
tree1587af256d2ab140e410e61554a71a5031fab5a0 /usr.bin/tmux/tty-keys.c
parentAdd support for hardware vlan tagging. Tag insertion here is actually (diff)
downloadwireguard-openbsd-cf8132c5c133cd5c76b9c1b8f921ac116f75e564.tar.xz
wireguard-openbsd-cf8132c5c133cd5c76b9c1b8f921ac116f75e564.zip
Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control
mode %output blocks.
Diffstat (limited to 'usr.bin/tmux/tty-keys.c')
-rw-r--r--usr.bin/tmux/tty-keys.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/tty-keys.c b/usr.bin/tmux/tty-keys.c
index 7328937165a..9c12885ed36 100644
--- a/usr.bin/tmux/tty-keys.c
+++ b/usr.bin/tmux/tty-keys.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-keys.c,v 1.138 2020/05/25 18:57:25 nicm Exp $ */
+/* $OpenBSD: tty-keys.c,v 1.139 2020/06/02 08:17:27 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);