From cca9688cca171dc3ee6ac24822bdd8c315997759 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 20 Feb 2022 14:58:33 -0500 Subject: 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. --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.4.1-2-gfad0