diff options
author | Mattias Andrée <m@maandree.se> | 2025-02-19 19:53:53 +0100 |
---|---|---|
committer | Mattias Andrée <m@maandree.se> | 2025-02-19 19:55:30 +0100 |
commit | a40d93ab5a064f8f2f9696acd1b57ef3603cd2fe (patch) | |
tree | 288671ad6f1b0d8c57a00b18b04f21b827eab24d /libterminput_read_bracketed_paste__.c | |
parent | minor readability improvement (diff) | |
download | libterminput-a40d93ab5a064f8f2f9696acd1b57ef3603cd2fe.tar.gz libterminput-a40d93ab5a064f8f2f9696acd1b57ef3603cd2fe.tar.bz2 libterminput-a40d93ab5a064f8f2f9696acd1b57ef3603cd2fe.tar.xz |
misc cleanup, fixes, and clarifications, and escape sequence
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r-- | libterminput_read_bracketed_paste__.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |