summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
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;