Aurélien Aptel %!s(int64=14) %!d(string=hai) anos
pai
achega
5c93f399c5
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      st.c

+ 1 - 6
st.c

@@ -861,12 +861,7 @@ csireset(void) {
 void
 tputtab(void) {
 	int space = TAB - term.c.x % TAB;
-	
-	if(term.c.x + space >= term.col)
-		space--;
-	
-	for(; space > 0; space--)
-		tmovecursor(CURSOR_RIGHT);
+	tmoveto(term.c.x + space, term.c.y);
 }
 
 void