diff --git a/degesch.c b/degesch.c index 5268777..b75a1f0 100644 --- a/degesch.c +++ b/degesch.c @@ -7626,6 +7626,8 @@ on_readline_input (char *line) if (*line) add_history (line); + // The text is deleted _afterwards_ + rl_delete_text (0, rl_end); process_input (ctx, line); free (line); }