From 7f10e361743b5695df19c6d5b71f924e4275accc Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 15 Aug 2024 15:55:31 -0500 Subject: [PATCH] need to fix search modularity --- src/main.rs | 2 -- src/state.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 0e93d9db..7502b61b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,10 @@ mod float; mod floating_text; mod running_command; -mod search; pub mod state; mod tabs; mod theme; -use crate::search::SearchBar; use std::{ io::{self, stdout}, time::Duration, diff --git a/src/state.rs b/src/state.rs index 5f8ef1a6..62620929 100644 --- a/src/state.rs +++ b/src/state.rs @@ -18,7 +18,7 @@ use std::path::PathBuf; pub struct AppState { /// Selected theme - theme: Theme, + pub theme: Theme, /// Path to the root of the unpacked files in /tmp temp_path: PathBuf, /// Currently focused area