moving state out of ui

This commit is contained in:
filipriec
2025-02-25 23:36:53 +01:00
parent 5010b73bab
commit fef821c800
6 changed files with 6 additions and 11 deletions

View File

@@ -3,7 +3,9 @@
use crate::tui::terminal::AppTerminal;
use crate::config::colors::Theme;
use crate::config::config::Config;
use crate::ui::handlers::{event::EventHandler, form::FormState, state::AppState, render::render_ui};
use crate::ui::handlers::{event::EventHandler, form::FormState, render::render_ui};
use crate::state::state::AppState;
pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
let config = Config::load()?;