Add session_set_current helper function, extracted from a diff from Aaron

Jensen.
This commit is contained in:
Nicholas Marriott
2013-02-21 16:54:13 +00:00
parent 6fc96978c2
commit 8c50f625b0
2 changed files with 16 additions and 23 deletions

1
tmux.h
View File

@ -2276,6 +2276,7 @@ int session_next(struct session *, int);
int session_previous(struct session *, int);
int session_select(struct session *, int);
int session_last(struct session *);
int session_set_current(struct session *, struct winlink *);
struct session_group *session_group_find(struct session *);
u_int session_group_index(struct session_group *);
void session_group_add(struct session *, struct session *);