Эх сурвалжийг харах

tab moves the cursor instead of inserting spaces.

Aurélien Aptel 16 жил өмнө
parent
commit
a866108af2
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      st.c

+ 1 - 1
st.c

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