summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index d722f16..fc41893 100644
--- a/src/io.c
+++ b/src/io.c
@@ -201,6 +201,9 @@ cmumble_io_init(struct cmumble *cm)
return -1;
}
+ /* TODO: Maybe add comments why tcsetattr is needed?
+ (as in readline/examples/excallback.c)
+ Rename io.term to io.term_backup? */
cm->io.term = term;
term.c_lflag &= ~ICANON;
term.c_cc[VTIME] = 1;