diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-09-22 17:10:38 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-09-22 17:10:38 +0100 |
commit | f49f92737f859bfeac901f0eb9b1db8249368843 (patch) | |
tree | bcea2626d03258d562cb68303913f4d45b779bfc /input.c | |
parent | 19344ec890e0c4343e3c20695806d482c631d67c (diff) | |
parent | a2cc601c3d1a569037ccd238b2638b5c416baca8 (diff) | |
download | rtmux-f49f92737f859bfeac901f0eb9b1db8249368843.tar.gz rtmux-f49f92737f859bfeac901f0eb9b1db8249368843.tar.bz2 rtmux-f49f92737f859bfeac901f0eb9b1db8249368843.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2242,7 +2242,6 @@ static int input_dcs_dispatch(struct input_ctx *ictx) { struct window_pane *wp = ictx->wp; - struct options *oo = wp->options; struct screen_write_ctx *sctx = &ictx->ctx; u_char *buf = ictx->input_buf; size_t len = ictx->input_len; @@ -2254,7 +2253,8 @@ input_dcs_dispatch(struct input_ctx *ictx) return (0); if (ictx->flags & INPUT_DISCARD) return (0); - allow_passthrough = options_get_number(oo, "allow-passthrough"); + allow_passthrough = options_get_number(wp->options, + "allow-passthrough"); if (!allow_passthrough) return (0); log_debug("%s: \"%s\"", __func__, buf); |