diff options
author | nicm <nicm> | 2019-06-20 13:40:22 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-06-20 13:40:22 +0000 |
commit | fc1df91e034627f674ed905be6a1159da883545e (patch) | |
tree | 17b541d73730fd22c781badc5dec1258ef165f2b /window.c | |
parent | c1573727f0ea1d8a2530edc1a7848d9aa1d6f590 (diff) | |
download | rtmux-fc1df91e034627f674ed905be6a1159da883545e.tar.gz rtmux-fc1df91e034627f674ed905be6a1159da883545e.tar.bz2 rtmux-fc1df91e034627f674ed905be6a1159da883545e.zip |
allow-rename and alternate-screen can be pane options.
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -944,7 +944,7 @@ window_pane_alternate_on(struct window_pane *wp, struct grid_cell *gc, if (wp->saved_grid != NULL) return; - if (!options_get_number(wp->window->options, "alternate-screen")) + if (!options_get_number(wp->options, "alternate-screen")) return; sx = screen_size_x(s); sy = screen_size_y(s); @@ -972,7 +972,7 @@ window_pane_alternate_off(struct window_pane *wp, struct grid_cell *gc, struct screen *s = &wp->base; u_int sx, sy; - if (!options_get_number(wp->window->options, "alternate-screen")) + if (!options_get_number(wp->options, "alternate-screen")) return; /* |