summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cfg.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-03-07 19:34:23 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-03-07 19:34:23 +0000
commit2c99347e69e9d4204d01c39c2491d19f5ecc8b3f (patch)
treeb6dc3f26930875fe2103fb3eeabd36d1ecab93e5 /usr.bin/tmux/cfg.c
parentdf419e7e1b181177191c282801b4d5447d5f3d41 (diff)
Tidy changing the mode into window_copy_init_for_output.
Diffstat (limited to 'usr.bin/tmux/cfg.c')
-rw-r--r--usr.bin/tmux/cfg.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/cfg.c b/usr.bin/tmux/cfg.c
index a6479d884ce..4e7811092ac 100644
--- a/usr.bin/tmux/cfg.c
+++ b/usr.bin/tmux/cfg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cfg.c,v 1.63 2019/02/16 11:42:08 nicm Exp $ */
+/* $OpenBSD: cfg.c,v 1.64 2019/03/07 19:34:22 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -348,7 +348,6 @@ cfg_show_causes(struct session *s)
return;
wp = s->curw->window->active;
- window_pane_set_mode(wp, &window_copy_mode, NULL, NULL);
window_copy_init_for_output(wp);
for (i = 0; i < cfg_ncauses; i++) {
window_copy_add(wp, "%s", cfg_causes[i]);