diff options
Diffstat (limited to 'src/exiting/mod.rs')
-rw-r--r-- | src/exiting/mod.rs | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/src/exiting/mod.rs b/src/exiting/mod.rs index 2d7e7f4..5c29372 100644 --- a/src/exiting/mod.rs +++ b/src/exiting/mod.rs @@ -1,4 +1,17 @@ -#[allow(clippy::module_inception)] -mod exiting; +use crate::git_interactive::GitInteractive; +use crate::process::process_module::ProcessModule; +use crate::view::View; -pub use self::exiting::Exiting; +pub(crate) struct Exiting {} + +impl ProcessModule for Exiting { + fn render(&self, view: &View, _git_interactive: &GitInteractive) { + view.draw_str("Exiting...") + } +} + +impl Exiting { + pub(crate) fn new() -> Self { + Self {} + } +} |