summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/hci/readline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hci/readline.c b/src/hci/readline.c
index d67980b2..40aa5978 100644
--- a/src/hci/readline.c
+++ b/src/hci/readline.c
@@ -266,6 +266,9 @@ int readline_history ( const char *prompt, const char *prefill,
if ( prompt )
printf ( "%s", prompt );
+ /* Ensure cursor is visible */
+ printf ( "\033[?25h" );
+
/* Initialise editable string */
memset ( &string, 0, sizeof ( string ) );
init_editstring ( &string, buf, sizeof ( buf ) );