big flat pt.13: fixed warnings, let's see what it has in store

This commit is contained in:
🪞👃🪞 2024-12-30 21:52:20 +01:00
parent e21ef1af94
commit 5bc3517dde
13 changed files with 68 additions and 45 deletions

View file

@ -2,7 +2,8 @@
mod engine; pub use self::engine::*;
mod input; pub use self::input::*;
mod output; pub use self::output::*;
mod tui; pub use self::tui::*;
pub mod tui;
pub use std::error::Error;
@ -58,6 +59,7 @@ pub type Perhaps<T> = Result<Option<T>, Box<dyn Error>>;
}
#[cfg(test)] #[test] fn test_tui_engine () -> Usually<()> {
use crate::tui::*;
use std::sync::{Arc, RwLock};
struct TestComponent(String);
impl Content<Tui> for TestComponent {