mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-09 23:09:17 +01:00
Early tmate init for the key bindings
This commit is contained in:
parent
2680e4fa04
commit
75cb217c22
9
server.c
9
server.c
@ -162,6 +162,11 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
|
|||||||
RB_INIT(&sessions);
|
RB_INIT(&sessions);
|
||||||
TAILQ_INIT(&session_groups);
|
TAILQ_INIT(&session_groups);
|
||||||
mode_key_init_trees();
|
mode_key_init_trees();
|
||||||
|
|
||||||
|
#ifdef TMATE
|
||||||
|
tmate_session_init(base);
|
||||||
|
#endif
|
||||||
|
|
||||||
key_bindings_init();
|
key_bindings_init();
|
||||||
|
|
||||||
gettimeofday(&start_time, NULL);
|
gettimeofday(&start_time, NULL);
|
||||||
@ -178,10 +183,6 @@ server_start(struct event_base *base, int lockfd, char *lockfile)
|
|||||||
close(lockfd);
|
close(lockfd);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TMATE
|
|
||||||
tmate_session_init(base);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
start_cfg();
|
start_cfg();
|
||||||
|
|
||||||
status_prompt_load_history();
|
status_prompt_load_history();
|
||||||
|
Loading…
Reference in New Issue
Block a user