summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-12-11 18:39:26 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-12-11 18:39:26 +0000
commit4e6b04f2c268ceabdda1599edf859a334505126c (patch)
treecd7df2c207205c887b043fdbeb19f533a26e3be4 /usr.bin/tmux/tmux.h
parenta606b76773893d4546e8cab18696573ebeda4fea (diff)
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 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index d116dbefe86..6ccdea89d1b 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.249 2010/12/11 16:05:57 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.250 2010/12/11 18:39:25 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1155,6 +1155,7 @@ struct client {
struct mode_key_data prompt_mdata;
struct session *session;
+ u_int last_session;
int references;
};