degesch: final fix for /query
rl_delete_text() didn't fix rl_point.
This commit is contained in:
parent
de019e7832
commit
c8c1697e20
|
@ -7642,7 +7642,7 @@ on_readline_input (char *line)
|
||||||
add_history (line);
|
add_history (line);
|
||||||
|
|
||||||
// The text is deleted _afterwards_
|
// The text is deleted _afterwards_
|
||||||
rl_delete_text (0, rl_end);
|
rl_replace_line ("", false);
|
||||||
process_input (ctx, line);
|
process_input (ctx, line);
|
||||||
free (line);
|
free (line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue