Skip to content

menu: Fix hang when pressing a key during quiet boot - #664

Open
hotline1337 wants to merge 1 commit into
Limine-Bootloader:trunkfrom
hotline1337:fix-quiet-boot-hang
Open

hotline1337 wants to merge 1 commit into
Limine-Bootloader:trunkfrom
hotline1337:fix-quiet-boot-hang

Conversation

@hotline1337

Copy link
Copy Markdown
Contributor

Summary

When quiet mode is active, the terminal is not fully initialized. If the autoboot timeout is interrupted by an unhandled key (or a stray keystroke from the firmware), the previous logic disabled the quiet flag but passed the key directly into the input switch.

Because unhandled keys fall through to the wait loop without triggering a screen refresh, Limine would hang on the firmware vendor logo indefinitely, waiting for further input without any visual feedback. This also affected setups with TIMEOUT=no and quiet: yes, where the timeout loop is skipped entirely.

This PR moves the quiet wake-up logic to the timeout_aborted label and forces an unconditional goto refresh. This guarantees that the first keystroke (or firmware event) cleanly initializes the terminal and draws the menu before waiting for further input.

Signed-off-by: hotline1337 <denuvo@tuta.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant