about summary refs log tree commit diff stats
path: root/inputfocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'inputfocus.c')
-rw-r--r--inputfocus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/inputfocus.c b/inputfocus.c
index fd3650f..6a280ff 100644
--- a/inputfocus.c
+++ b/inputfocus.c
@@ -209,8 +209,6 @@ input_check_mode(struct tab *t)
 
 	if (dom_is_input(t, &active))
 		t->mode = XT_MODE_INSERT;
-	else
-		t->mode = XT_MODE_COMMAND;
 
 	return (active);
 }