d1616c63bc
Pane focus follows actual screen layout: Artists (left), Albums (top-right), Tracks (bottom-right). h/l jump between left/right columns, j/k move between vertically stacked panes in the right column. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/claude-agent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
27 lines
359 B
Rust
27 lines
359 B
Rust
#[derive(Clone, Debug)]
|
|
pub enum AppAction {
|
|
// Movement
|
|
MoveUp,
|
|
MoveDown,
|
|
FocusLeft,
|
|
FocusRight,
|
|
FocusDown,
|
|
FocusUp,
|
|
GotoFirst,
|
|
GotoLast,
|
|
HalfPageDown,
|
|
HalfPageUp,
|
|
|
|
// Tabs
|
|
NextTab,
|
|
PrevTab,
|
|
GotoTab(usize),
|
|
|
|
// System
|
|
Quit,
|
|
Refresh,
|
|
ShowHelp,
|
|
ToggleNotifications,
|
|
Escape,
|
|
}
|