Feat: F1 F2 F3

This commit is contained in:
2026-02-14 15:13:21 +01:00
parent d56fa58157
commit 5e7fd8b79c
4 changed files with 23 additions and 6 deletions

View File

@@ -1,12 +1,12 @@
use crate::page::Page;
pub fn bindings_for(page: Page) -> Vec<(&'static str, &'static str, &'static str)> {
let mut bindings = Vec::new();
// Global bindings
bindings.push(("Ctrl+←→↑↓", "Navigate", "Switch between views"));
bindings.push(("q", "Quit", "Quit application"));
bindings.push(("?", "Keybindings", "Show this help"));
let mut bindings = vec![
("F1F6", "Go to view", "Dict/Patterns/Options/Help/Sequencer/Engine"),
("Ctrl+←→↑↓", "Navigate", "Switch between adjacent views"),
("q", "Quit", "Quit application"),
("?", "Keybindings", "Show this help"),
];
// Page-specific bindings
match page {