From a40d93ab5a064f8f2f9696acd1b57ef3603cd2fe Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 19 Feb 2025 19:53:53 +0100 Subject: misc cleanup, fixes, and clarifications, and escape sequence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libterminput_read_bracketed_paste__.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libterminput_read_bracketed_paste__.c') diff --git a/libterminput_read_bracketed_paste__.c b/libterminput_read_bracketed_paste__.c index 0c7a81f..02fecc5 100644 --- a/libterminput_read_bracketed_paste__.c +++ b/libterminput_read_bracketed_paste__.c @@ -84,7 +84,8 @@ libterminput_read_bracketed_paste__(int fd, union libterminput_input *input, str } /* If the input is solely a truncation of the bracketed paste - * end marker, output that we do not have any complete input */ + * 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); -- cgit v1.2.3-70-g09d2