summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/console.c b/common/console.c
index a935028e30..402befc622 100644
--- a/common/console.c
+++ b/common/console.c
@@ -269,11 +269,13 @@ command_has_error:
static void console_init(void)
{
*input_buf = '\0';
+ cflush();
#ifdef CONFIG_EXPERIMENTAL_CONSOLE
ccprintf("Enhanced Console is enabled (v1.0.0); type HELP for help.\n");
#else
ccprintf("Console is enabled; type HELP for help.\n");
#endif /* defined(CONFIG_EXPERIMENTAL_CONSOLE) */
+ cflush();
ccputs(PROMPT);
}