working focus

This commit is contained in:
filipriec_vm
2026-01-11 16:03:04 +01:00
parent e3e2d64b2a
commit 1044003179
6 changed files with 138 additions and 2 deletions

9
src/focus/mode.rs Normal file
View File

@@ -0,0 +1,9 @@
pub trait FocusModeHint<F: super::FocusId> {
fn focus_modes(&self) -> &[&'static str];
}
impl<F: super::FocusId> FocusModeHint<F> for super::FocusManager<F> {
fn focus_modes(&self) -> &[&'static str] {
&["general"]
}
}