aboutsummaryrefslogtreecommitdiffstats
path: root/core/ui.inc
diff options
context:
space:
mode:
Diffstat (limited to 'core/ui.inc')
-rw-r--r--core/ui.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/core/ui.inc b/core/ui.inc
index 4f5b1fdc..7f88cda0 100644
--- a/core/ui.inc
+++ b/core/ui.inc
@@ -48,10 +48,12 @@ no_config_file:
; Check whether or not we are supposed to display the boot prompt.
;
check_for_key:
- cmp word [ForcePrompt],0 ; Force prompt?
- jnz enter_command
test byte [KbdFlags],5Bh ; Shift Alt Caps Scroll
- jz auto_boot ; If neither, default boot
+ jnz enter_command
+ cmp word [ForcePrompt],0 ; Force prompt?
+ jz auto_boot
+ cmp word [DefaultLevel],1 ; Active UI statement?
+ ja auto_boot
enter_command:
cmp word [NoEscape],0 ; If NOESCAPE, no prompt,