pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4422648
)
clean \t.
author
Aurélien Aptel
<aurelien.aptel@gmail.com>
Thu, 26 Aug 2010 19:34:37 +0000
(21:34 +0200)
committer
Aurélien Aptel
<aurelien.aptel@gmail.com>
Thu, 26 Aug 2010 19:34:37 +0000
(21:34 +0200)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
04ff1b9
..
bef3039
100644
(file)
--- a/
st.c
+++ b/
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