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:39:25 +00:00
parent 20ed20ea1e
commit 51487ed22f
7 changed files with 57 additions and 15 deletions

View File

@@ -78,6 +78,7 @@ server_client_create(int fd)
c->title = NULL;
c->session = NULL;
c->last_session = UINT_MAX;
c->tty.sx = 80;
c->tty.sy = 24;