summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2024-03-18 04:07:13 +0000
committerAiden Gall <aiden@aidengall.xyz>2024-03-18 04:07:13 +0000
commitff28dfbb3f69fc94f536bb09d8be8d026ba6560f (patch)
tree57d68af3f814ead7cb11b4a9855825a4f0cf1ce2 /st.c
parent1170778edb6647215319c93ca3588cd3400cea3b (diff)
parentf20e169a20f3ee761f7e09714f1d4c10916cf4c6 (diff)
merge upstream
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index d840890..a426827 100644
--- a/st.c
+++ b/st.c
@@ -1866,7 +1866,7 @@ csihandle(void)
ttywrite(vtiden, strlen(vtiden), 0);
break;
case 'b': /* REP -- if last char is printable print it <n> more times */
- DEFAULT(csiescseq.arg[0], 1);
+ LIMIT(csiescseq.arg[0], 1, 65535);
if (term.lastc)
while (csiescseq.arg[0]-- > 0)
tputc(term.lastc);