Initial Rust CLI/TUI Rebuild (Seeded Sim + CSV Export)
This commit is contained in:
parent
faf0929bb6
commit
dae34cce41
16 changed files with 2739 additions and 0 deletions
9
src/ui/widgets.rs
Normal file
9
src/ui/widgets.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use crate::instance::SimStatus;
|
||||
|
||||
pub fn status_badge(status: &SimStatus) -> &'static str {
|
||||
match status {
|
||||
SimStatus::Pending => "PENDING",
|
||||
SimStatus::Running { .. } => "RUNNING",
|
||||
SimStatus::Completed => "COMPLETED",
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue