mirror of
https://github.com/alrayyes/st.git
synced 2024-11-29 14:06:21 +00:00
clean \t.
This commit is contained in:
parent
44226483fb
commit
5c93f399c5
1 changed files with 1 additions and 6 deletions
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 a new issue