34f3f514cb
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.
977 B
977 B
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.confdoes 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