]> jxnshi.xyz Git - st-config.git/commitdiff
Fix
authorjxnshi <jxnshi@proton.me>
Fri, 24 Jan 2025 17:55:59 +0000 (18:55 +0100)
committerjxnshi <jxnshi@proton.me>
Fri, 24 Jan 2025 17:55:59 +0000 (18:55 +0100)
st.c

diff --git a/st.c b/st.c
index 53e977c86f4a440ce73adbf2462d3a7e8d29daef..b35b189c48ad06a5c14216b490cdd9954643a74d 100644 (file)
--- a/st.c
+++ b/st.c
@@ -1127,7 +1127,7 @@ tscrolldown(int orig, int n, int copyhist)
 }
 
 void
-+tscrollup(int orig, int n, int copyhist)
+tscrollup(int orig, int n, int copyhist)
 {
        int i;
        Line temp;
@@ -2373,7 +2373,7 @@ eschandle(uchar ascii)
                return 0;
        case 'D': /* IND -- Linefeed */
                if (term.c.y == term.bot) {
-                       tscrollup(term.top, 1);
+                       tscrollup(term.top, 1, 1);
                } else {
                        tmoveto(term.c.x, term.c.y+1);
                }