summaryrefslogtreecommitdiffstats
path: root/mbbsd/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/io.c')
-rw-r--r--mbbsd/io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index 6916322a..17eb837b 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -700,6 +700,7 @@ oldgetdata(int line, int col, const char *prompt, char *buf, int len, int echo)
// workaround poor terminal
move_ansi(line, col);
getyx(&line, &col);
+ clrtoeol();
// (line, col) are real starting address