diff options
Diffstat (limited to 'more.c')
-rw-r--r-- | more.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -154,12 +154,10 @@ extern int more_main(int argc, char **argv) | |||
154 | 154 | ||
155 | #ifdef BB_FEATURE_USE_TERMIOS | 155 | #ifdef BB_FEATURE_USE_TERMIOS |
156 | /* Erase the "More" message */ | 156 | /* Erase the "More" message */ |
157 | putc('\r', stdout); | ||
157 | while (--len >= 0) | 158 | while (--len >= 0) |
158 | putc('\b', stdout); | ||
159 | while (++len <= terminal_width) | ||
160 | putc(' ', stdout); | 159 | putc(' ', stdout); |
161 | while (--len >= 0) | 160 | putc('\r', stdout); |
162 | putc('\b', stdout); | ||
163 | fflush(stdout); | 161 | fflush(stdout); |
164 | #endif | 162 | #endif |
165 | len=0; | 163 | len=0; |