need to fix search modularity

This commit is contained in:
Chris Titus 2024-08-15 15:55:31 -05:00
parent f8b3edb250
commit 7f10e36174
2 changed files with 1 additions and 3 deletions

View File

@ -1,12 +1,10 @@
mod float; mod float;
mod floating_text; mod floating_text;
mod running_command; mod running_command;
mod search;
pub mod state; pub mod state;
mod tabs; mod tabs;
mod theme; mod theme;
use crate::search::SearchBar;
use std::{ use std::{
io::{self, stdout}, io::{self, stdout},
time::Duration, time::Duration,

View File

@ -18,7 +18,7 @@ use std::path::PathBuf;
pub struct AppState { pub struct AppState {
/// Selected theme /// Selected theme
theme: Theme, pub theme: Theme,
/// Path to the root of the unpacked files in /tmp /// Path to the root of the unpacked files in /tmp
temp_path: PathBuf, temp_path: PathBuf,
/// Currently focused area /// Currently focused area