Desktop: Escape in a modified game asks about saving; Escape in the question leaves

The game's Escape is taken when it leaves: the question about unsaved edits, opened in
the same frame, read the same key as its own Escape and closed at once, so Escape seemed
to do nothing in a modified game. In the question Escape now goes on without saving (the
owner's choice); Cancel stays to keep editing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-24 00:37:34 +03:00
parent ff6c966953
commit a3541ed1d4
3 changed files with 10 additions and 3 deletions

View file

@ -90,7 +90,7 @@ cargo run --release -p chesspenguin -- examples/classics.pgn
| Where | Keys |
| --- | --- |
| Library | ↑/↓ select · Enter open · Ctrl+O add PGN · Ctrl+N new game · Ctrl+F search |
| Game | ←/→ move · ↑ end · ↓ start (also End/Home) · Shift+↑/↓ switch variation · F flip · L engine · Shift+A game analysis · Esc leave a preview, then back to the previous game or the library |
| Game | ←/→ move · ↑ end · ↓ start (also End/Home) · Shift+↑/↓ switch variation · F flip · L engine · Shift+A game analysis · Esc leave a preview, then back to the previous game or the library (unsaved edits: Esc again leaves without saving) |
| Editing | Ctrl+Z / Ctrl+Y undo/redo · Ctrl+Shift+C copy PGN · Ctrl+S save as · Ctrl+W back to library |
## Project layout