diff options
Diffstat (limited to '')
-rw-r--r-- | libterminput_read_bracketed_paste__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libterminput_read_bracketed_paste__.c b/libterminput_read_bracketed_paste__.c index 02fecc5..b580b70 100644 --- a/libterminput_read_bracketed_paste__.c +++ b/libterminput_read_bracketed_paste__.c @@ -87,11 +87,11 @@ libterminput_read_bracketed_paste__(int fd, union libterminput_input *input, str * end marker, output that we do not have any complete input, * and pause as the available buffered input is incomplete */ if (input->text.nbytes < 6U) { - input->text.type = LIBTERMINPUT_NONE; memcpy(ctx->stored, input->text.bytes, input->text.nbytes); ctx->stored_tail = 0; ctx->stored_head = input->text.nbytes; ctx->paused = 1; + NOTHING(input); return 1; } |