소스 검색

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