From 1a92f998319cb3c69324adf0d457790e55e7105c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 17 Nov 2021 13:55:33 +0530 Subject: [PATCH] ... --- kittens/tui/operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kittens/tui/operations.py b/kittens/tui/operations.py index 9f50d16f4..523be1302 100644 --- a/kittens/tui/operations.py +++ b/kittens/tui/operations.py @@ -117,7 +117,7 @@ def without_line_wrap(write: Callable[[str], None]) -> Generator[None, None, Non @cmd def repeat(char: str, count: int) -> str: - if count > 1: + if count > 5: return f'{char}\x1b[{count-1}b' return char * count