diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-22 21:39:24 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-22 23:07:09 +0200 |
commit | c8c1697e20675a53c0b570b8cddd6eecb1a846b4 (patch) | |
tree | 3e2434c3ad535a99c1028e6b70dfe7b9cacc2b8d | |
parent | de019e7832cbd66b2fdbc16caf243e6fd929e40a (diff) | |
download | xK-c8c1697e20675a53c0b570b8cddd6eecb1a846b4.tar.gz xK-c8c1697e20675a53c0b570b8cddd6eecb1a846b4.tar.xz xK-c8c1697e20675a53c0b570b8cddd6eecb1a846b4.zip |
degesch: final fix for /query
rl_delete_text() didn't fix rl_point.
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |