summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/asterisk.c b/main/asterisk.c
index d11fc8dce..4b09d1e6a 100644
--- a/main/asterisk.c
+++ b/main/asterisk.c
@@ -2175,7 +2175,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", 5) < 0) {
}
}
if (write(STDOUT_FILENO, buf, res) < 0) {