浏览代码

tab moves the cursor instead of inserting spaces.

Aurélien Aptel 16 年之前
父节点
当前提交
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