From dc0f2ce9ba97ebb47e05b80a511da6eb29818b63 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Tue, 23 Jul 2024 17:48:28 -0400 Subject: Merge old-molehole --- src/app_action.rs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/app_action.rs (limited to 'src/app_action.rs') diff --git a/src/app_action.rs b/src/app_action.rs deleted file mode 100644 index 7825724..0000000 --- a/src/app_action.rs +++ /dev/null @@ -1,24 +0,0 @@ -use std::fmt; - -#[derive(Default, Clone, Debug)] -pub enum AppAction { - StatusBarSetMessage(String), - StatusBarSetError(String), - OpenUrl, - - ScrollUp, - ScrollDown, - ScrollTop, - ScrollBottom, - - ShowHelpMenu, - - #[default] - Quit, -} - -impl fmt::Display for AppAction { - fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, "{:?}", self) - } -} -- cgit v1.2.3