This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch tymux-10-quiet-head
in repository terminology.
View the commit online.
commit 55fd66e760a9804f1e7624cc37fcfa98afeef7f2
Author: Boris Faure <[email protected]>
AuthorDate: Thu Nov 5 21:44:37 2026 +0000
termpty: clear seq_scanned when the pending sequence is dropped
When the buffer keeping an incomplete sequence for the next read could
not be allocated, the sequence was dropped but seq_scanned was left
set, so the next sequence was scanned past its start.
No test: tytest cannot make an allocation fail.
---
src/bin/termpty.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 25dc08f5..4cf563d0 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -156,6 +156,7 @@ termpty_handle_buf(Termpty *ty, const Eina_Unicode *codepoints, int len)
{
ERR(_("memerr: %s"), strerror(errno));
free(tmp);
+ ty->seq_scanned = 0;
return;
}
ty->bufsize = bytes / sizeof(Eina_Unicode);
@@ -205,6 +206,7 @@ termpty_handle_buf(Termpty *ty, const Eina_Unicode *codepoints, int len)
if (!ty->buf)
{
ERR(_("memerr: %s"), strerror(errno));
+ ty->seq_scanned = 0;
}
else
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.