about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-11 21:56:29 -0500
committerJune McEnroe <june@causal.agency>2020-02-11 21:56:29 -0500
commit907d4b4605a212a645fc78420a29fa34ed9c0642 (patch)
tree2056bd4bf0eb071817439f9924a5dfaf9a841abe
parentAdd startup GPLv3 note and URL (diff)
downloadcatgirl-907d4b4605a212a645fc78420a29fa34ed9c0642.tar.gz
catgirl-907d4b4605a212a645fc78420a29fa34ed9c0642.zip
Exit focus and paste modes on err exit
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();
 }