mirror of
git://git.suckless.org/st
synced 2025-04-28 19:30:59 +01:00
clean \t.
This commit is contained in:
parent
f181bb29d8
commit
ab5e72dc39
7
st.c
7
st.c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user