Files
wlgol/openspec/changes/fix-review-findings/specs/keyboard-bindings/spec.md
T

20 lines
977 B
Markdown
Raw Normal View History

2026-11-11 17:45:37 +01:00
# Spec Delta: fix-review-findings
## MODIFIED Requirements
### Requirement: Default bindings are available without configuration
The system SHALL provide built-in default bindings for every supported action — digits 1-0 selecting the ten built-in patterns, Space rotating, Escape cancelling, Ctrl+Q quitting, P pausing, N stepping, +/- changing simulation speed, G toggling grid lines, and C clearing the grid.
#### Scenario: No config file present
- **WHEN** the application starts and `~/.config/wlgol/keys.conf` does not exist
- **THEN** the application uses the built-in default bindings
- **AND** creates the config file with the default contents
#### Scenario: Clear without configuration
- **WHEN** the default bindings are active and the user presses C
- **THEN** the clear action is triggered
#### Scenario: Toggle grid lines without configuration
- **WHEN** the default bindings are active and the user presses G
- **THEN** the toggle_grid action is triggered