diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-03-08 12:02:39 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-03-08 12:02:39 +0000 |
commit | bc72cf2f52ea7e07e58213b98fd6c4ff287274b3 (patch) | |
tree | 14bd1a7ab8e8fa342c8155c0be5cffa9ecf08945 /cfg.c | |
parent | 349aeb806ab02797e1d28be22802e73f75b77c1d (diff) | |
parent | de730f68a4bc97e26f8f5dcb404ed27dc489c0fd (diff) | |
download | rtmux-bc72cf2f52ea7e07e58213b98fd6c4ff287274b3.tar.gz rtmux-bc72cf2f52ea7e07e58213b98fd6c4ff287274b3.tar.bz2 rtmux-bc72cf2f52ea7e07e58213b98fd6c4ff287274b3.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cfg.c')
-rw-r--r-- | cfg.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -347,7 +347,10 @@ cfg_show_causes(struct session *s) return; wp = s->curw->window->active; - window_copy_init_for_output(wp); + if (wp->mode == NULL || wp->mode->mode != &window_view_mode) { + window_pane_reset_mode(wp); + window_pane_set_mode(wp, &window_view_mode, NULL, NULL); + } for (i = 0; i < cfg_ncauses; i++) { window_copy_add(wp, "%s", cfg_causes[i]); free(cfg_causes[i]); |