aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2009-05-15 00:39:51 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2009-05-15 00:39:51 +0200
commit2fab2ea5ed84d6e6a659b2d7430a3b5b47650a48 (patch)
tree7ef89a3847d9108e56d657d4b1e2dc12194acf52
parent9364de4c646a228b030c31e9703490812d04bf50 (diff)
downloadst-2fab2ea5ed84d6e6a659b2d7430a3b5b47650a48.tar.gz
st-2fab2ea5ed84d6e6a659b2d7430a3b5b47650a48.tar.bz2
tab moves the cursor instead of inserting spaces.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 79fb161..c24bb1d 100644
--- a/st.c
+++ b/st.c
@@ -566,7 +566,7 @@ tputtab(void) {
space--;
for(; space > 0; space--)
- tputc(' ');
+ tcursor(CSright);
}
void