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.
master
June McEnroe 2022-02-20 14:58:33 -05:00
parent a281bdc5e1
commit cca9688cca
1 changed files with 1 additions and 1 deletions

View File

@ -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) {