diff options
Diffstat (limited to 'bin/imag-tui/src/lib.rs')
-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() |