diff options
author | June McEnroe | 2022-02-20 14:58:33 -0500 |
---|---|---|
committer | June McEnroe | 2022-02-20 14:58:33 -0500 |
commit | cca9688cca171dc3ee6ac24822bdd8c315997759 (patch) | |
tree | 444bab6767ee683387412a2f60ceb769b5c83383 /input.c | |
parent | a281bdc5e1700e25022536a5482b1fb41ece4219 (diff) |
Clear edit buffer before running command
Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c index ad6d533..28349f4 100644 --- a/input.c +++ b/input.c @@ -385,8 +385,8 @@ static void inputEnter(void) { if (!cmd) err(EX_OSERR, "editString"); tabAccept(); - command(id, cmd); editFn(&edits[id], EditClear); + command(id, cmd); } static void keyCode(int code) { |