1
0
mirror of https://github.com/alrayyes/st synced 2023-11-14 15:56:30 +00:00

clean \t.

This commit is contained in:
Aurélien Aptel 2010-08-26 21:34:37 +02:00
parent 44226483fb
commit 5c93f399c5

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