Keyboard screen: Ctrl+C hint directly under the header, no blank line

Match the disk-overwrite screen, where the unencrypted-install hint sits on
the line right below its message.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Fable 5 committed 2026-08-08 01:35:35 -07:00
1 parent c11276d49a
commit 7c196f8d12
1 file changed
+8 -7
+8 -7
View File
@@ -73,17 +73,18 @@ notice() {
# STEP 1: KEYBOARD LAYOUT
keyboard_form() {
step "Let's setup your machine..."
# On the first screen, Ctrl+C is the hidden entry into OEM mode — the same
# idiom the disk-overwrite screen uses for unencrypted. $1 is "true" only for
# that first invocation; the review-loop re-edit passes nothing so a stray
# Ctrl+C there can't flip an in-progress user install into OEM.
# The Ctrl+C hint sits directly under the header (no blank line between),
# matching the disk-overwrite screen's unencrypted offer. Ctrl+C on the first
# screen is the hidden entry into OEM mode; $1 is "true" only for that first
# invocation, so the review-loop re-edit can't flip a user install into OEM.
local allow_oem="${1:-false}"
clear_logo
echo
say "Let's setup your machine..."
if $allow_oem; then
say --foreground 8 "Press Ctrl+C to prepare this machine for another owner."
echo
fi
echo
keyboards=$'Azerbaijani|azerty
Belarusian|by