degesch: final fix for /query
rl_delete_text() didn't fix rl_point.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user