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) { for(--x; x > 0 && !term.tabs[x]; --x) /* nothing */ ; } - tmoveto(x, term.c.y); + term.c.x = LIMIT(x, 0, term.col-1); } void