Jelajahi Sumber

tab moves the cursor instead of inserting spaces.

Aurélien Aptel 16 tahun lalu
induk
melakukan
a866108af2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      st.c

+ 1 - 1
st.c

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