generated from GarandPLG/rust-flake-template
Add scrolling actions and board widget
Introduce directional and scroll actions, update keybindings, add scrollbar state to SkirmishState, and render the board with a new BoardWidget. Adjust CLI defaults and layout heights accordingly.
This commit is contained in:
+2
-2
@@ -37,7 +37,7 @@ pub struct Cli {
|
||||
long,
|
||||
help = "Map width",
|
||||
value_name = "Positive integer [20; 100]",
|
||||
default_value = "50"
|
||||
default_value = "27"
|
||||
)]
|
||||
pub map_width: u8,
|
||||
|
||||
@@ -45,7 +45,7 @@ pub struct Cli {
|
||||
long,
|
||||
help = "Map height",
|
||||
value_name = "Positive integer [11; 50]",
|
||||
default_value = "21"
|
||||
default_value = "11"
|
||||
)]
|
||||
pub map_height: u8,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user