feat(tui): improve tab navigation
This commit is contained in:
1 parent
6c92c6132a
commit
09d548272b
7 files changed
+224
-94
No files matched your search
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user