diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2010-12-11 18:39:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2010-12-11 18:39:25 +0000 |
commit | 51487ed22f0acf199f64728f3efc15a3c9ad615f (patch) | |
tree | d7702647b5c8d0337b0f5708118359ebd78e95d6 /server-client.c | |
parent | 20ed20ea1eb996cbfc530688dac7646f58a43fe6 (diff) | |
download | rtmux-51487ed22f0acf199f64728f3efc15a3c9ad615f.tar.gz rtmux-51487ed22f0acf199f64728f3efc15a3c9ad615f.tar.bz2 rtmux-51487ed22f0acf199f64728f3efc15a3c9ad615f.zip |
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.
Diffstat (limited to 'server-client.c')
-rw-r--r-- | server-client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server-client.c b/server-client.c index 80ec0e91..290a175a 100644 --- a/server-client.c +++ b/server-client.c @@ -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; |