cube-tui 0.1.9

Terminal UI timer and session manager for speedcubing, with optional web dashboard and BLE (GAN) timer support.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum MainFocus {
    History,
    Stats,
}

pub struct MainStatsSelection {
    pub row: usize,
    pub col: usize,
}

impl Default for MainStatsSelection {
    fn default() -> Self {
        Self { row: 1, col: 0 }
    }
}