[WIP] Terms update support

This commit is contained in:
Alex-Emmet 2026-02-06 22:47:42 +01:00
commit b81276dd18
6 changed files with 251 additions and 91 deletions

View file

@ -1,4 +1,4 @@
#[derive(Debug, Clone, Copy, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Focus {
Eula,
Tos,
@ -7,6 +7,7 @@ pub enum Focus {
Continue,
ContinueAll,
}
impl Focus {
pub fn next(&mut self, state: (bool, bool, bool)) {
*self = match self {