--- src/shared/shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/shell.c b/src/shared/shell.c index aa6c16c8c..837152525 100644 --- a/src/shared/shell.c +++ b/src/shared/shell.c @@ -719,6 +719,7 @@ void bt_shell_printf(const char *fmt, ...) saved_line = rl_copy_text(0, rl_end); if (!data.saved_prompt) rl_save_prompt(); + rl_clear_visible_line(); rl_reset_line_state(); } -- 2.45.2