Tidy changing the mode into window_copy_init_for_output.

This commit is contained in:
nicm
2019-03-07 19:34:22 +00:00
parent 7f093fcddc
commit 3c24bc5617
4 changed files with 9 additions and 11 deletions

1
cfg.c
View File

@ -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]);