diff options
-rw-r--r-- | response.c | 1 | ||||
-rw-r--r-- | response.h | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -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); @@ -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); + |