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 4f2c3279e4ad88f390e7f484d9410b95ea9cd98d
Author: Boris Faure <[email protected]>
AuthorDate: Tue Nov 10 09:57:49 2026 +0000
termptyops: use DIV_ROUND_UP in termpty_text_repeat_count
---
src/bin/termptyops.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/termptyops.c b/src/bin/termptyops.c
index e6540468..073426ab 100644
--- a/src/bin/termptyops.c
+++ b/src/bin/termptyops.c
@@ -323,7 +323,7 @@ termpty_text_repeat_count(const Termpty *ty, Eina_Unicode codepoint,
int per_line, settled;
if (line_w < 1) line_w = 1;
- per_line = (line_w + cell_w - 1) / cell_w;
+ per_line = DIV_ROUND_UP(line_w, cell_w);
settled = ty->w + (ty->h * per_line);
if (count <= settled + per_line)
return count;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.