return old;
}
+static bool key_cancels_boot(int key)
+{
+ if (key == 0xc)
+ return false;
+
+ return true;
+}
+
static bool process_global_keys(struct cui *cui, int key)
{
switch (key) {
}
}
- if (!cui->has_input) {
+ if (!cui->has_input && key_cancels_boot(c)) {
cui->has_input = true;
if (cui->client) {
pb_log("UI input received (key = %d), aborting "