Files
wlgol/openspec/changes/fix-review-findings/specs/keyboard-bindings/spec.md
T
arek 34f3f514cb docs: plan fix-review-findings change
Capture the code review findings as an OpenSpec change: pointer
enter position, working clear action with default g/c bindings,
release-deferred buffer destruction on resize, and behavior-neutral
cleanups. Includes design decisions and implementation tasks.
2026-11-11 17:45:37 +01:00

20 lines
977 B
Markdown

# 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