Add navigation and selection for skirmish cells

Reclassify Escape key as Quit and add directional actions to move the
focused cell.
This commit is contained in:
GarandPLG committed 2026-03-29 22:03:22 +02:00
1 parent d35d803a78
commit 363baa1c1a
8 files changed
+81 -13

No files matched your search

+4
View File
@@ -14,6 +14,10 @@ use ratatui::{
pub fn skirmish_view(app: &mut App, area: Rect, buf: &mut Buffer) {
let actions: Vec<Action> = vec![
Action::Up,
Action::Down,
Action::Left,
Action::Right,
Action::ScrollUp,
Action::ScrollDown,
Action::ScrollLeft,