degesch: final fix for /query

rl_delete_text() didn't fix rl_point.
This commit is contained in:
Přemysl Eric Janouch 2015-06-22 21:39:24 +02:00
parent de019e7832
commit c8c1697e20
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}