clean \t.

This commit is contained in:
Aurélien Aptel 2010-08-26 21:34:37 +02:00
parent f181bb29d8
commit ab5e72dc39

7
st.c
View File

@ -861,12 +861,7 @@ csireset(void) {
void void
tputtab(void) { tputtab(void) {
int space = TAB - term.c.x % TAB; int space = TAB - term.c.x % TAB;
tmoveto(term.c.x + space, term.c.y);
if(term.c.x + space >= term.col)
space--;
for(; space > 0; space--)
tmovecursor(CURSOR_RIGHT);
} }
void void