status bar display
This commit is contained in:
@@ -94,6 +94,8 @@ pub(crate) fn handle_board_input(
|
||||
KeyCode::Left => try_move_with_transition(game, ui, Direction::West),
|
||||
KeyCode::Right => try_move_with_transition(game, ui, Direction::East),
|
||||
KeyCode::Char('l') => ui.log.toggle(),
|
||||
// Toggle the status sidebar (play-only: this handler is InputMode::Board).
|
||||
KeyCode::Tab => ui.show_status = !ui.show_status,
|
||||
KeyCode::PageUp if log_open => ui.log.scroll_by(-5, game.log.len()),
|
||||
KeyCode::PageDown if log_open => ui.log.scroll_by(5, game.log.len()),
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user