From 13aebae71f4ef29fc8d5c777af675f5bff0c9db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=84min=20Baumeler?= Date: Fri, 13 Jun 2025 14:57:11 +0200 Subject: [PATCH] bug fix: return from dayview --- src/main.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.sh b/src/main.sh index 32017d3..3b3b5b9 100755 --- a/src/main.sh +++ b/src/main.sh @@ -958,6 +958,8 @@ while true; do set -- "--day" "$DISPLAY_DATE" elif [ "$key" = "ctrl-t" ]; then set -- "--set-tz" "--day" "$DISPLAY_DATE" + elif [ "$key" = "esc" ] || [ "$key" = "backspace" ] || [ "$key" = "q" ]; then + set -- "--week" "$DISPLAY_DATE" elif [ -z "$key" ] && [ -n "$fpath" ]; then __edit "$start" "$end" "$fpath" set -- "--day" "$DISPLAY_DATE"