gptzfsboot: boot prompt should emit new line on input

In case the user did input, we should put newline
on screen to avoid possible error messages to get
mixed with user input.
This commit is contained in:
Toomas Soome
2026-04-09 13:48:15 +03:00
parent 5dc4da1a40
commit c1c97f18b5
+4 -2
View File
@@ -320,10 +320,12 @@ main(void)
else if (!auto_boot || !OPT_CHECK(RBX_QUIET))
putchar('\n');
auto_boot = 0;
if (parse_cmd())
if (parse_cmd()) {
putchar('\a');
else
} else {
putchar('\n');
load();
}
}
}