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(); }