aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/hdt/hdt-cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/hdt/hdt-cli.c b/com32/hdt/hdt-cli.c
index c8d9ce8b..030757da 100644
--- a/com32/hdt/hdt-cli.c
+++ b/com32/hdt/hdt-cli.c
@@ -769,13 +769,13 @@ void start_cli_mode(struct s_hardware *hardware)
printf("Entering CLI mode\n");
- /* Display the cursor */
- display_cursor(true);
-
reset_prompt();
while (hdt_cli.mode != EXIT_MODE) {
+ /* Display the cursor */
+ display_cursor(true);
+
/* Let's put the cursor blinking until we get an input */
set_cursor_blink(true);