mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
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:
@ -1,4 +1,4 @@
|
||||
/* $Id: server-client.c,v 1.46 2010-12-11 16:15:02 nicm Exp $ */
|
||||
/* $Id: server-client.c,v 1.47 2010-12-11 18:42:20 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -77,6 +77,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;
|
||||
|
||||
|
Reference in New Issue
Block a user