JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
tab moves the cursor instead of inserting spaces.
authorAurélien Aptel <aurelien.aptel@gmail.com>
Thu, 14 May 2009 22:39:51 +0000 (00:39 +0200)
committerAurélien Aptel <aurelien.aptel@gmail.com>
Thu, 14 May 2009 22:39:51 +0000 (00:39 +0200)
st.c

diff --git a/st.c b/st.c
index 79fb161..c24bb1d 100644 (file)
--- a/st.c
+++ b/st.c
@@ -566,7 +566,7 @@ tputtab(void) {
         space--;
     
     for(; space > 0; space--)
-        tputc(' ');
+        tcursor(CSright);
 }
 
 void