Thread (32 messages) 32 messages, 4 authors, 2013-04-17
STALE4851d

[PATCH 07/13] gatttool: Use bluetoothctl behavior when pressing Enter on empty prompt

From: Alvaro Silva <hidden>
Date: 2013-03-21 22:31:43
Subsystem: the rest · Maintainer: Linus Torvalds

From: Eder Ruiz Maria <redacted>

---
 attrib/interactive.c |    1 +
 1 file changed, 1 insertion(+)
diff --git a/attrib/interactive.c b/attrib/interactive.c
index 4fd2280..ecb8b7d 100644
--- a/attrib/interactive.c
+++ b/attrib/interactive.c
@@ -930,6 +930,7 @@ int interactive(const gchar *src, const gchar *dst,
 	g_io_add_watch(pchan, events, prompt_read, NULL);
 
 	rl_attempted_completion_function = commands_completion;
+	rl_erase_empty_line = 1;
 	rl_callback_handler_install(get_prompt(), parse_line);
 
 	g_main_loop_run(event_loop);
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help