Explorar o código

tab moves the cursor instead of inserting spaces.

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

+ 1 - 1
st.c

@@ -566,7 +566,7 @@ tputtab(void) {
         space--;
     
     for(; space > 0; space--)
-        tputc(' ');
+        tcursor(CSright);
 }
 
 void