diff options
author | Shav Kinderlehrer <[email protected]> | 2024-07-23 17:48:28 -0400 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2024-07-23 17:48:28 -0400 |
commit | dc0f2ce9ba97ebb47e05b80a511da6eb29818b63 (patch) | |
tree | dc83035069f5a015047be1ca3da6f65781eb4695 /src/app_action.rs | |
parent | f638f4bd1e3a03bc2bdd5f9dcd57d4830fd3c553 (diff) | |
download | molehole-ncurses.tar.gz molehole-ncurses.zip |
Merge old-moleholencurses
Diffstat (limited to 'src/app_action.rs')
-rw-r--r-- | src/app_action.rs | 24 |
1 files changed, 0 insertions, 24 deletions
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) - } -} |