summaryrefslogtreecommitdiff
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
commita866108af2c6c008e37a32c61cee931efa5e4f9a (patch)
tree7ef89a3847d9108e56d657d4b1e2dc12194acf52
parent1cf8b77d2798a43c979b71e16fd45d63b808f569 (diff)
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