summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-02-11 21:56:29 -0500
committerC. McEnroe2020-02-11 21:56:29 -0500
commit907d4b4605a212a645fc78420a29fa34ed9c0642 (patch)
tree2056bd4bf0eb071817439f9924a5dfaf9a841abe
parent62472ab18349a4f16e7afb5b3301a20644fef207 (diff)
Exit focus and paste modes on err exit
-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();
 }