projects
/
my-code
/
api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added fast(er) list to be included (just in header) + small bug fix
[my-code/api.git]
/
input
/
input.c
diff --git
a/input/input.c
b/input/input.c
index
0060f52
..
285a08d
100644
(file)
--- a/
input/input.c
+++ b/
input/input.c
@@
-40,6
+40,8
@@
int input_ios_init(t_input *input) {
tios.c_cc[VMIN]=1; /* 1 char for non-can. mode */
/* depending on used modes */
+ tios.c_lflag|=ICANON;
+ tios.c_lflag|=ECHO;
if(!(input->mode&LINE_BUFFERED)) tios.c_lflag&=(~ICANON);
if(!(input->mode&INPUT_ECHO)) tios.c_lflag&=(~ECHO);