aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c7
1 files changed, 1 insertions, 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) {
861void 861void
862tputtab(void) { 862tputtab(void) {
863 int space = TAB - term.c.x % TAB; 863 int space = TAB - term.c.x % TAB;
864 864 tmoveto(term.c.x + space, term.c.y);
865 if(term.c.x + space >= term.col)
866 space--;
867
868 for(; space > 0; space--)
869 tmovecursor(CURSOR_RIGHT);
870} 865}
871 866
872void 867void