file manager
git clone https://git.lucas.co/cce-files.git
feat: navigate in plate terms
Opt into cce-ui's Tab traversal (Application::plate_navigation): Tab and
Shift+Tab walk the plates and wells in reading order, each lighting its own
rim; a press acts on a plate, a well opens for typing.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
src/main.rs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main.rs b/src/main.rs
index 7942bcf..d4b69d2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2462,6 +2462,12 @@ impl Application for FilesystemApp {
}
}
+ /// Tab walks the toolbar's plates and wells (cce-ui's navigation in
+ /// plate terms); the file rows are the list's to walk.
+ fn plate_navigation(&self) -> bool {
+ true
+ }
+
fn handle_key_input(&mut self, event: &KeyEvent, needs_rebuild: &mut bool) -> Option<Self::Message> {
if event.state != ElementState::Pressed {
return None;