git.lucas.co / cce-files
file manager
git clone https://git.lucas.co/cce-files.git

commit7970692edbd9e391d8ba0e94e1a293c4ecad6bec
parenta2aa24d780
authorLucas Galante <[email protected]>
date2026-09-08 21:44
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;