Implement inverting colors

This commit is contained in:
itsjunetime
2025-02-19 15:24:27 -07:00
parent 8c10a3c4bc
commit 9d2a730e40
5 changed files with 50 additions and 2 deletions
+3 -1
View File
@@ -414,6 +414,7 @@ impl Tui {
)));
Some(InputAction::Redraw)
}
'i' => Some(InputAction::Invert),
'n' if self.page < self.rendered.len() - 1 => {
// TODO: If we can't find one, then maybe like block until we've verified
// all the pages have been checked?
@@ -604,7 +605,8 @@ pub enum InputAction {
Redraw,
JumpingToPage(usize),
Search(String),
QuitApp
QuitApp,
Invert
}
#[derive(Copy, Clone)]