clean \t.
This commit is contained in:
parent
44226483fb
commit
5c93f399c5
7
st.c
7
st.c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user