Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] shared/shell: add proper line clean to bt_shell_printf
@ 2025-01-17 18:06 Denis Burkov
  2025-01-17 18:17 ` Denis Burkov
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Denis Burkov @ 2025-01-17 18:06 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Denis Burkov

---
 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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-23 18:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17 18:06 [PATCH BlueZ] shared/shell: add proper line clean to bt_shell_printf Denis Burkov
2025-01-17 18:17 ` Denis Burkov
2025-01-17 18:17 ` Luiz Augusto von Dentz
2025-01-17 18:25   ` Denis Burkov
2025-01-17 18:51   ` Denis Burkov
2025-01-17 19:15 ` [BlueZ] " bluez.test.bot
2025-01-23 18:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox