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 b2bcfe9..f874127 100644
--- a/st.c
+++ b/st.c
@@ -2392,7 +2392,7 @@ tputtab(int n) {
2392 for(--x; x > 0 && !term.tabs[x]; --x) 2392 for(--x; x > 0 && !term.tabs[x]; --x)
2393 /* nothing */ ; 2393 /* nothing */ ;
2394 } 2394 }
2395 tmoveto(x, term.c.y); 2395 term.c.x = LIMIT(x, 0, term.col-1);
2396} 2396}
2397 2397
2398void 2398void