feat(tui): improve tab navigation

This commit is contained in:
objz committed 2025-10-18 16:15:09 +02:00
1 parent 6c92c6132a
commit 09d548272b
7 files changed
+224 -94

No files matched your search

+6
View File
@@ -351,6 +351,12 @@ impl InstanceManager {
}
}
}
pub fn touch_last_played(&self, name: &str) -> Result<(), InstanceError> {
let mut config = self.load_one(name)?;
config.last_played = Some(chrono::Utc::now());
self.save(&config)
}
}
fn validate_name(name: &str) -> Result<(), InstanceError> {