diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-21 23:21:13 +0200 |
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-21 23:38:22 +0200 |
| commit | e276fe0022be96ccea45588f82663159ca6aa20c (patch) | |
| tree | 717c0386fe9fce6943d5bc6c45c729eb1baef8f9 | |
| parent | 1e04fc24a7b2b23a9913011c92629c47e58a6735 (diff) | |
| download | xK-e276fe0022be96ccea45588f82663159ca6aa20c.tar.gz xK-e276fe0022be96ccea45588f82663159ca6aa20c.tar.xz xK-e276fe0022be96ccea45588f82663159ca6aa20c.zip | |
degesch: fix /query
It changed the buffer, which saved the state, which saved the line
currently being processed (thanks Readline, so obvious).
| -rw-r--r-- | degesch.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); } |
