From: Denis Burkov <hitechshell@mail.ru>
To: linux-bluetooth@vger.kernel.org
Cc: Denis Burkov <hitechshell@mail.ru>
Subject: [PATCH BlueZ] shared/shell: add proper line clean to bt_shell_printf
Date: Fri, 17 Jan 2025 23:06:11 +0500 [thread overview]
Message-ID: <20250117180611.14869-1-hitechshell@mail.ru> (raw)
---
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
next reply other threads:[~2025-01-17 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 18:06 Denis Burkov [this message]
2025-01-17 18:17 ` [PATCH BlueZ] shared/shell: add proper line clean to bt_shell_printf 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250117180611.14869-1-hitechshell@mail.ru \
--to=hitechshell@mail.ru \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox