Skip to content

Quit on Ctrl-Q#7985

Merged
emilk merged 2 commits intomainfrom
emilk/ctrl-q-quit
Mar 18, 2026
Merged

Quit on Ctrl-Q#7985
emilk merged 2 commits intomainfrom
emilk/ctrl-q-quit

Conversation

@emilk
Copy link
Owner

@emilk emilk commented Mar 18, 2026

This adds Ctrl-Q as the default shortcut for closing the current egui Viewport, which also means closing the entire application if you are in the root viewport.

Can be configured by egui::Options::quit_shortcuts

On Mac, cmd-Q already triggers a quit, but not on all Linux:es.

@emilk emilk added the egui label Mar 18, 2026
@github-actions
Copy link

github-actions bot commented Mar 18, 2026

Preview available at https://egui-pr-preview.github.io/pr/7985-emilkctrl-q-quit
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@emilk emilk merged commit ad51025 into main Mar 18, 2026
46 checks passed
@emilk emilk deleted the emilk/ctrl-q-quit branch March 18, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant