diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-04-09 21:51:35 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-04-12 14:10:56 +0200 |
commit | 952e19b10295bc6d91580599f287748c822cea11 (patch) | |
tree | 06eb109a6af03e547abed6a288479dbd873969a5 | |
parent | d55cf9775ed30579a53b2666f5dc13ea4421f463 (diff) |
fixup! TMPimag-tui
-rw-r--r-- | bin/imag-tui/src/lib.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/imag-tui/src/lib.rs b/bin/imag-tui/src/lib.rs index 1de4dd84..20926816 100644 --- a/bin/imag-tui/src/lib.rs +++ b/bin/imag-tui/src/lib.rs @@ -52,6 +52,15 @@ use cursive::With; pub enum ImagTui {} impl ImagApplication for ImagTui { fn run(rt: Runtime) -> Result<()> { + // + // + // + // + // we need to change the runtime, so that we can initialize it without a logger + // + // + // + // let mut siv = Cursive::default(); siv.add_layer(MainView::new(rt.extract_store())); siv.menubar() |