summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2010-10-23 13:04:34 +0000
committernicm <nicm@openbsd.org>2010-10-23 13:04:34 +0000
commit2bb1dad127ab7faa0b621e766784b537bf7b4e66 (patch)
treebfa04232c7b13a51c7c4a61d2b414a4c0cd7ec49 /usr.bin/tmux/cmd.c
parentWhen removing a pane, don't change the active pane unless the active (diff)
downloadwireguard-openbsd-2bb1dad127ab7faa0b621e766784b537bf7b4e66.tar.xz
wireguard-openbsd-2bb1dad127ab7faa0b621e766784b537bf7b4e66.zip
Add a last-pane command (bound to ; by default). Requested ages ago by
somebody whose name I have forgotten.
Diffstat (limited to 'usr.bin/tmux/cmd.c')
-rw-r--r--usr.bin/tmux/cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd.c b/usr.bin/tmux/cmd.c
index 929bb55b5c6..280dd9cffd6 100644
--- a/usr.bin/tmux/cmd.c
+++ b/usr.bin/tmux/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.44 2010/10/16 07:57:42 nicm Exp $ */
+/* $OpenBSD: cmd.c,v 1.45 2010/10/23 13:04:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -54,6 +54,7 @@ const struct cmd_entry *cmd_table[] = {
&cmd_kill_server_entry,
&cmd_kill_session_entry,
&cmd_kill_window_entry,
+ &cmd_last_pane_entry,
&cmd_last_window_entry,
&cmd_link_window_entry,
&cmd_list_buffers_entry,