added a bit of breakup between the startup output and the prompt to

select a config, also made the switch_config command clear the
current_input so that it's not left over when you come back.
This commit is contained in:
2026-08-19 17:04:39 -05:00
parent 8ab7a2bec4
commit 9ed69b03a0
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -141,7 +141,7 @@ async fn main() {
);
exit(1);
}
let (mut appstate) = AppState::new();
let mut appstate = AppState::new();
let config_load = appstate.load_config(client_config_path.clone(), true);
if config_load.is_err() {
eprintln!("error loading config!");
@@ -153,8 +153,8 @@ async fn main() {
});
let handles = Arc::new(Mutex::new(Vec::new()));
let handles_clone = handles.clone();
println!("entering tui...");
let primary_handle = spawn(move || {
println!("entering tui...");
let _ = startup(appstate, false, handles_clone);
});
if let Ok(mut lock) = handles.lock() {