diff options
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -28,6 +28,7 @@ #include <stdlib.h> #include <string.h> #include <termios.h> +#include <time.h> #include <unistd.h> #include "tmux.h" @@ -379,13 +380,13 @@ tty_send_requests(struct tty *tty) tty_puts(tty, "\033]11;?\033\\"); } else tty->flags |= TTY_ALL_REQUEST_FLAGS; - tty->last_requests = time (NULL); + tty->last_requests = time(NULL); } void tty_repeat_requests(struct tty *tty) { - time_t t = time (NULL); + time_t t = time(NULL); if (~tty->flags & TTY_STARTED) return; |