From 5fcd6711e4319a03349a9506d646767c73a5381a Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 11 Dec 2010 18:42:20 +0000 Subject: 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. --- server-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server-client.c') diff --git a/server-client.c b/server-client.c index d98238e3..313fbdda 100644 --- a/server-client.c +++ b/server-client.c @@ -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 @@ -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; -- cgit