feat: add in-TUI settings editors

This commit is contained in:
objz committed 2026-09-03 20:44:44 +02:00
1 parent 8c94e126c3
commit c95f2d17ff
47 files changed
+2574 -741

No files matched your search

+8
View File
@@ -52,6 +52,14 @@ pub fn get(name: &str) -> Option<RunState> {
RUNNING.lock().ok().and_then(|map| map.get(name).cloned())
}
#[must_use]
pub fn is_active(name: &str) -> bool {
matches!(
get(name),
Some(RunState::Authenticating | RunState::Starting | RunState::Running)
)
}
#[must_use]
pub fn all() -> Vec<(String, RunState)> {
RUNNING