mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Store time lines are scrolled into history and display in copy mode.
This commit is contained in:
4
server.c
4
server.c
@ -55,6 +55,8 @@ struct cmd_find_state marked_pane;
|
||||
static u_int message_next;
|
||||
struct message_list message_log;
|
||||
|
||||
time_t current_time;
|
||||
|
||||
static int server_loop(void);
|
||||
static void server_send_exit(void);
|
||||
static void server_accept(int, short, void *);
|
||||
@ -257,6 +259,8 @@ server_loop(void)
|
||||
struct client *c;
|
||||
u_int items;
|
||||
|
||||
current_time = time (NULL);
|
||||
|
||||
do {
|
||||
items = cmdq_next(NULL);
|
||||
TAILQ_FOREACH(c, &clients, entry) {
|
||||
|
Reference in New Issue
Block a user