summary refs log tree commit diff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
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) {