Parcourir la source

tab moves the cursor instead of inserting spaces.

Aurélien Aptel il y a 16 ans
Parent
commit
a866108af2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      st.c

+ 1 - 1
st.c

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