ttab moves the cursor instead of inserting spaces. - st - [fork] customized build of st, the simple terminal
HTML git clone git://src.adamsgaard.dk/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a866108af2c6c008e37a32c61cee931efa5e4f9a
DIR parent 1cf8b77d2798a43c979b71e16fd45d63b808f569
HTML Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Fri, 15 May 2009 00:39:51 +0200
ttab moves the cursor instead of inserting spaces.
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/st.c b/st.c
t@@ -566,7 +566,7 @@ tputtab(void) {
space--;
for(; space > 0; space--)
- tputc(' ');
+ tcursor(CSright);
}
void