summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Flykt <patrik.flykt@linux.intel.com>2013-06-07 06:58:33 (GMT)
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-06-07 07:18:53 (GMT)
commit2476ce77a9a1a9d151a51d654191030115806bb9 (patch)
treeebdf28a31fd3b387c9312387707d2905d9a02265
parentdb6ec6b0d66beb54aed7573fe9b975631603a527 (diff)
downloadconnman-2476ce77a9a1a9d151a51d654191030115806bb9.zip
connman-2476ce77a9a1a9d151a51d654191030115806bb9.tar.gz
connman-2476ce77a9a1a9d151a51d654191030115806bb9.tar.bz2
client: Avoid printing extra prompt on RequestInput
-rw-r--r--client/agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/agent.c b/client/agent.c
index 16d1928..fe357bf 100644
--- a/client/agent.c
+++ b/client/agent.c
@@ -287,6 +287,8 @@ static void request_input_next(void)
pending_message_remove();
pending_command_complete("");
+
+ __connmanctl_redraw_rl();
}
static void request_input_append(const char *attribute, char *value)
@@ -361,7 +363,6 @@ static DBusMessage *agent_request_input(DBusConnection *connection,
fprintf(stdout, "Agent RequestInput %s\n", service);
__connmanctl_dbus_print(&dict, " ", " = ", "\n");
fprintf(stdout, "\n");
- __connmanctl_redraw_rl();
dbus_message_iter_recurse(&iter, &dict);