summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-select-pane.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-07-20 19:35:33 +0000
committernicm <nicm@openbsd.org>2009-07-20 19:35:33 +0000
commit0ad4cc6b6a4329501c5230bde9d6db3d61859ecc (patch)
tree6affc4f99f89fd08170b922918741932d932ef09 /usr.bin/tmux/cmd-select-pane.c
parent(struct foo *)0 -> NULL, every where I could find it. (diff)
downloadwireguard-openbsd-0ad4cc6b6a4329501c5230bde9d6db3d61859ecc.tar.xz
wireguard-openbsd-0ad4cc6b6a4329501c5230bde9d6db3d61859ecc.zip
Now that #P could be in the status line, flag it for redraw when the active
pane changes.
Diffstat (limited to 'usr.bin/tmux/cmd-select-pane.c')
-rw-r--r--usr.bin/tmux/cmd-select-pane.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-select-pane.c b/usr.bin/tmux/cmd-select-pane.c
index 463802f2806..725d3bd4286 100644
--- a/usr.bin/tmux/cmd-select-pane.c
+++ b/usr.bin/tmux/cmd-select-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-pane.c,v 1.4 2009/07/19 13:21:40 nicm Exp $ */
+/* $OpenBSD: cmd-select-pane.c,v 1.5 2009/07/20 19:35:33 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -63,6 +63,7 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
return (-1);
}
window_set_active_pane(wl->window, wp);
+ server_status_window(wl->window);
return (0);
}