cargo-helper 1.1.6

A Gui for Cargo with support for vexide
use std::time::{
    Instant,
    Duration
};
use crate::RichText;

pub struct CommandLabel {
    pub text: RichText,
    pub vis_timer: Instant,
}

impl CommandLabel {
    pub fn new() -> Self {
        Self {
            text: RichText::default(),
            vis_timer: Instant::now() + Duration::from_secs(3)
        }
    }
}