X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=st.c;fp=st.c;h=683493d3aa66fc346eb0eadc1c6e8f8bdd08dac8;hb=95f22c53059ccd60ee701ccf2659dacd95e4e89a;hp=77c3e8a8d8d16e3004760a0432af437065e41fb6;hpb=7473a8d1a57e5f9aba41b953f4e498c35e1c9dc5;p=st.git diff --git a/st.c b/st.c index 77c3e8a..683493d 100644 --- a/st.c +++ b/st.c @@ -1643,7 +1643,7 @@ csihandle(void) ttywrite(vtiden, strlen(vtiden), 0); break; case 'b': /* REP -- if last char is printable print it more times */ - DEFAULT(csiescseq.arg[0], 1); + LIMIT(csiescseq.arg[0], 1, 65535); if (term.lastc) while (csiescseq.arg[0]-- > 0) tputc(term.lastc);