summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2025-06-19 12:15:18 +0100
committerAiden Gall <aiden@aidengall.xyz>2025-06-19 12:15:18 +0100
commit1045eb73fe0ccc37b9aae8feb4294822463644c4 (patch)
treee9c3f89d716904e18b1402f79719401b1392768e /st.c
parent2f55584aad1d25de361752831ef0ba0162289f53 (diff)
parent6009e6e25bdff9548f085e9ae562b1ca305d3a0b (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 b9e6d7a..dbedffd 100644
--- a/st.c
+++ b/st.c
@@ -1927,7 +1927,7 @@ csihandle(void)
}
break;
case 1: /* above */
- if (term.c.y >= 1)
+ if (term.c.y > 0)
tclearregion(0, 0, term.col-1, term.c.y-1, 1);
tclearregion(0, term.c.y, term.c.x, term.c.y, 1);
break;