about summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui.c b/ui.c
index e687c08..348dd84 100644
--- a/ui.c
+++ b/ui.c
@@ -185,6 +185,8 @@ static void acquireKeys(void) {
 }
 
 static void errExit(void) {
+	putp(ExitFocusMode);
+	putp(ExitPasteMode);
 	reset_shell_mode();
 }