Add next_session_id format with the next session ID, GitHub issue 3078.

This commit is contained in:
nicm
2022-02-22 11:10:41 +00:00
parent 0fd01f8873
commit fa71e9a079
4 changed files with 18 additions and 1 deletions

1
tmux.h
View File

@ -3118,6 +3118,7 @@ void control_notify_session_window_changed(struct session *);
/* session.c */
extern struct sessions sessions;
extern u_int next_session_id;
int session_cmp(struct session *, struct session *);
RB_PROTOTYPE(sessions, session, entry, session_cmp);
int session_alive(struct session *);