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.
This commit is contained in:
parent
a281bdc5e1
commit
cca9688cca
2
input.c
2
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user