tclean \t. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 5c93f399c564f3475ffa4d3b3314a06db533e410
(DIR) parent 44226483fb0a3d6270970399d8a91abb2d16146b
(HTM) Author: Aurélien Aptel <aurelien.aptel@gmail.com>
Date: Thu, 26 Aug 2010 21:34:37 +0200
clean \t.
Diffstat:
M st.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
t@@ -861,12 +861,7 @@ csireset(void) {
void
tputtab(void) {
int space = TAB - term.c.x % TAB;
-
- if(term.c.x + space >= term.col)
- space--;
-
- for(; space > 0; space--)
- tmovecursor(CURSOR_RIGHT);
+ tmoveto(term.c.x + space, term.c.y);
}
void