mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #154] [MERGED] Add ESC key to close window in qualifying and race replay interfaces #179
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#179
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/154
Author: @thomaslok0516
Created: 1/4/2026
Status: ✅ Merged
Merged: 1/8/2026
Merged by: @IAmTomShaw
Base:
main← Head:feat/esc📝 Commits (1)
0abbf20Add ESC key to close window in qualifying and race replay interfaces📊 Changes
3 files changed (+11 additions, -1 deletions)
View changed files
📝
src/interfaces/qualifying.py(+6 -1)📝
src/interfaces/race_replay.py(+4 -0)📝
src/ui_components.py(+1 -0)📄 Description
Problem
When using the qualifying and race replay interfaces, I struggled to find a way to go back to the race selection page. There was no obvious exit mechanism, which made navigation confusing.
Solution
Added ESC key support to close the window in both interfaces:
Changes
on_key_presshandler forarcade.key.ESCAPEinsrc/interfaces/qualifying.pyon_key_presshandler forarcade.key.ESCAPEinsrc/interfaces/race_replay.pyLegendComponentinsrc/ui_components.pyto include ESC key in control instructionsQualifyingReplayto show ESC key optionTesting
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.