From ab5e72dc3940e640c635a149dda035137d0e966f Mon Sep 17 00:00:00 2001 From: Aurélien Aptel Date: Thu, 26 Aug 2010 21:34:37 +0200 Subject: clean \t. --- st.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/st.c b/st.c index 04ff1b9..bef3039 100644 --- 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 -- cgit v1.2.3