summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index f9c6288..b065390 100644
--- a/degesch.c
+++ b/degesch.c
@@ -7642,7 +7642,7 @@ on_readline_input (char *line)
add_history (line);
// The text is deleted _afterwards_
- rl_delete_text (0, rl_end);
+ rl_replace_line ("", false);
process_input (ctx, line);
free (line);
}