summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/io.c b/src/io.c
index 8d01a8e..ff7db5a 100644
--- a/src/io.c
+++ b/src/io.c
@@ -68,7 +68,7 @@ process_line(char *line)
struct context *ctx = global_rl_user_data;
g_assert(global_rl_user_data);
-
+
rl_reset_line_state();
if (line == NULL) {
@@ -96,9 +96,9 @@ int
cmumble_io_init(struct context *ctx)
{
struct termios term;
-
+
ctx->io.input_channel = g_io_channel_unix_new(STDIN_FILENO);
-
+
g_io_add_watch(ctx->io.input_channel, G_IO_IN | G_IO_HUP,
read_cb, ctx);