From 1b025f46e59469c484019df3a59263cb6571e7d4 Mon Sep 17 00:00:00 2001 From: maxstrb Date: Wed, 24 Sep 2025 22:46:02 +0200 Subject: [PATCH] qol --- src/days.rs | 2 +- src/popup/day_details.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/days.rs b/src/days.rs index 2ba0b14..ed0933b 100644 --- a/src/days.rs +++ b/src/days.rs @@ -28,8 +28,8 @@ pub struct Days { #[derive(Default)] enum DaysState { - #[default] Main, + #[default] DaySelect, } diff --git a/src/popup/day_details.rs b/src/popup/day_details.rs index df74a47..e2e90cc 100644 --- a/src/popup/day_details.rs +++ b/src/popup/day_details.rs @@ -71,7 +71,7 @@ impl Focused for DayDetails { None } - KeyCode::Delete => { + KeyCode::Delete | KeyCode::Char('d') => { self.state = State::DeletionConfirm(false); None }