Track the last session for a client and add a flag to switch-client and

a key binding (L) to move a client back to its last session.
This commit is contained in:
Nicholas Marriott
2010-12-11 18:42:20 +00:00
parent d227a2e661
commit 5fcd6711e4
7 changed files with 64 additions and 22 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.586 2010-12-11 16:15:02 nicm Exp $ */
/* $Id: tmux.h,v 1.587 2010-12-11 18:42:20 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -1153,6 +1153,7 @@ struct client {
struct mode_key_data prompt_mdata;
struct session *session;
u_int last_session;
int references;
};