=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/input.c,v retrieving revision 1.219 retrieving revision 1.220 diff -c -r1.219 -r1.220 *** src/usr.bin/tmux/input.c 2023/08/08 08:21:29 1.219 --- src/usr.bin/tmux/input.c 2023/08/23 08:30:07 1.220 *************** *** 1,4 **** ! /* $OpenBSD: input.c,v 1.219 2023/08/08 08:21:29 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: input.c,v 1.220 2023/08/23 08:30:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 2248,2257 **** if (wp == NULL) return (0); ! if (ictx->flags & INPUT_DISCARD) return (0); ! allow_passthrough = options_get_number(wp->options, ! "allow-passthrough"); if (!allow_passthrough) return (0); log_debug("%s: \"%s\"", __func__, buf); --- 2248,2260 ---- if (wp == NULL) return (0); ! if (ictx->flags & INPUT_DISCARD) { ! log_debug("%s: %zu bytes (discard)", __func__, len); return (0); ! } ! log_debug("%s: %zu bytes", __func__, len); ! ! allow_passthrough = options_get_number(wp->options, "allow-passthrough"); if (!allow_passthrough) return (0); log_debug("%s: \"%s\"", __func__, buf);