Merge branch 'obsd-master'

This commit is contained in:
Thomas Adam 2024-05-14 14:01:10 +01:00
commit 452d987e0e
2 changed files with 4 additions and 3 deletions

View File

@ -264,7 +264,7 @@ server_loop(void)
struct client *c;
u_int items;
current_time = time (NULL);
current_time = time(NULL);
do {
items = cmdq_next(NULL);

5
tty.c
View File

@ -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;