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
parent
a281bdc5e1
commit
cca9688cca
2
input.c
2
input.c
|
@ -385,8 +385,8 @@ static void inputEnter(void) {
|
||||||
if (!cmd) err(EX_OSERR, "editString");
|
if (!cmd) err(EX_OSERR, "editString");
|
||||||
|
|
||||||
tabAccept();
|
tabAccept();
|
||||||
command(id, cmd);
|
|
||||||
editFn(&edits[id], EditClear);
|
editFn(&edits[id], EditClear);
|
||||||
|
command(id, cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void keyCode(int code) {
|
static void keyCode(int code) {
|
||||||
|
|
Loading…
Reference in New Issue