Browse Source

tab moves the cursor instead of inserting spaces.

Aurélien Aptel 16 năm trước cách đây
mục cha
commit
a866108af2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      st.c

+ 1 - 1
st.c

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