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();
 }
 
lass='logmsg'> 2021-01-11Publish "Using vi"June McEnroe 2021-01-11Enable diff.colorMovedJune McEnroe 2021-01-10Set less search case-insensitiveJune McEnroe 2021-01-10Set EXINITJune McEnroe neovim is laggy as hell in my OpenBSD VM, so I switched to vi so I could type without getting frustrated. 2021-01-09Add c -t flag to print expression typeJune McEnroe Also add missing float case. 2021-01-05Update taglineJune McEnroe