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 5f37fc03e..0d71c2a05 100644 --- a/main/asterisk.c +++ b/main/asterisk.c @@ -2167,7 +2167,7 @@ static int ast_el_read_char(EditLine *editline, 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) { |