diff options
-rw-r--r-- | main/asterisk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c index 236e6318b..0e1306fd8 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -1863,7 +1863,7 @@ static int ast_el_read_char(EditLine *el, char *cp) /* Write over the CLI prompt */ if (!ast_opt_exec && !lastpos) { - if (write(STDOUT_FILENO, "\r", 1) < 0) { + if (write(STDOUT_FILENO, "\r[0K", 5) < 0) { } } if (write(STDOUT_FILENO, buf, res) < 0) { |