diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 7 |
1 files changed, 1 insertions, 6 deletions
| @@ -861,12 +861,7 @@ csireset(void) { | |||
| 861 | void | 861 | void |
| 862 | tputtab(void) { | 862 | tputtab(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 | ||
| 872 | void | 867 | void |
