aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 6d20977..7051a4a 100644
--- a/st.c
+++ b/st.c
@@ -2390,7 +2390,7 @@ tputtab(int n) {
2390 for(--x; x > 0 && !term.tabs[x]; --x) 2390 for(--x; x > 0 && !term.tabs[x]; --x)
2391 /* nothing */ ; 2391 /* nothing */ ;
2392 } 2392 }
2393 tmoveto(x, term.c.y); 2393 term.c.x = LIMIT(x, 0, term.col-1);
2394} 2394}
2395 2395
2396void 2396void