diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-06-20 13:40:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-06-20 13:40:23 +0000 |
commit | ded390541c5dc61a7f09e3a79a483313f0083891 (patch) | |
tree | d66843fcf4abe9f1fbe69d5fc6c7b51886330a26 /usr.bin/tmux/window.c | |
parent | 54c570e2200025f14a33f5e08738d3ee6035b3ac (diff) |
allow-rename and alternate-screen can be pane options.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r-- | usr.bin/tmux/window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index eadcaccf60a..fe210533d8c 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.234 2019/06/20 11:59:59 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.235 2019/06/20 13:40:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; /* |