summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--response.c1
-rw-r--r--response.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/response.c b/response.c
index f8620b0..f92a101 100644
--- a/response.c
+++ b/response.c
@@ -98,6 +98,7 @@ static void writeOutput(GPollableOutputStream* stream, gchar* data)
if (data==NULL) {
terminated = g_strdup("");
} else if (!strlen(data)) {
+ // prompt generation
terminated = g_strdup("\r\n> ");
} else {
terminated = g_strdup_printf ("%s\r\n", data);
diff --git a/response.h b/response.h
index ff03826..ab41326 100644
--- a/response.h
+++ b/response.h
@@ -12,4 +12,5 @@ typedef struct _streamStruct {
gboolean cbClientInput(gpointer data, gpointer additional);
gboolean cbClientOutput(gpointer data, gpointer additional);
void initSignals(guint *signal);
-void responseCb(gpointer instance, GObject *arg1, gpointer user_data); \ No newline at end of file
+void responseCb(gpointer instance, GObject *arg1, gpointer user_data);
+