mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Log what input_dcs_dispatch does with the input data.
This commit is contained in:
parent
8636848e63
commit
52084b2948
9
input.c
9
input.c
@ -2248,10 +2248,13 @@ input_dcs_dispatch(struct input_ctx *ictx)
|
||||
|
||||
if (wp == NULL)
|
||||
return (0);
|
||||
if (ictx->flags & INPUT_DISCARD)
|
||||
if (ictx->flags & INPUT_DISCARD) {
|
||||
log_debug("%s: %zu bytes (discard)", __func__, len);
|
||||
return (0);
|
||||
allow_passthrough = options_get_number(wp->options,
|
||||
"allow-passthrough");
|
||||
}
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user