summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-11-10 13:22:52 -0500
committerJesse Luehrs <doy@tozt.net>2021-11-10 13:22:52 -0500
commit84e8e53d3384402490c654d28f9c4182bd5f9afb (patch)
treefb9a890d4aa5c61174076fb574c829264d1a828b /src
parent747da41fd3f192038c2e3194b4de041f7969f7a8 (diff)
downloadnbsh-84e8e53d3384402490c654d28f9c4182bd5f9afb.tar.gz
nbsh-84e8e53d3384402490c654d28f9c4182bd5f9afb.zip
derive debug in a few places
Diffstat (limited to 'src')
-rw-r--r--src/state.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state.rs b/src/state.rs
index b979ed7..55b8c9e 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -70,12 +70,13 @@ impl State {
}
}
-#[derive(Copy, Clone)]
+#[derive(Copy, Clone, Debug)]
pub enum Focus {
Readline,
History(usize),
}
+#[derive(Debug)]
pub enum Action {
Render,
Run(String),