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"