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 c3c4ef053cf4ccf7b6125be7c8f9ced2a1933fea
Author: Boris Faure <[email protected]>
AuthorDate: Fri Nov 6 22:18:23 2026 +0000
termptyesc: do not clear the screen DECALN is about to fill
DECALN cleared the whole screen, then filled every cell of it with E,
and cancelled the selection twice. Only the circular offset reset is
left of the clear: the fill already releases what the cells held.
tybench, release build, best of 10 iterations, three interleaved runs,
MB/s before -> after:
DECALN only 11.2 -> 18.8
fill (corpus) 126.0 -> 130.0
---
src/bin/termptyesc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c
index b68b4393..9c580946 100644
--- a/src/bin/termptyesc.c
+++ b/src/bin/termptyesc.c
@@ -6173,7 +6173,7 @@ _handle_decaln(Termpty *ty)
ty->cursor_state.cy = 0;
ty->termstate.att.link_id = 0;
- termpty_clear_screen(ty, TERMPTY_CLR_ALL);
+ ty->circular_offset = 0;
if (ty->cb.cancel_sel.func)
ty->cb.cancel_sel.func(ty->cb.cancel_sel.data);
cells = ty->screen;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.