diff options
Diffstat (limited to '')
-rw-r--r-- | src/c_init.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/c_init.c b/src/c_init.c index 196a8ff..77d3023 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -12,13 +12,13 @@ #include <unistd.h> #include <stdlib.h> -#include <term.h> #include <libft.h> #include <signal.h> +#include <term.h> #include "c_init.h" -#include "c_input.h" #include "c_keys.h" +#include "c_input.h" #include "c_utils.h" #include "s_struct.h" #include "m_prompt.h" @@ -114,8 +114,7 @@ static char } else { - return ((c_read_cap(buf, line, tcaps, msh) == 130) ? - c_new_line(ft_strdup("\n"), tcaps) : NULL); + c_read_cap(buf, line, tcaps, msh); } return ((buf[0] == '\n') ? c_new_line(line, tcaps) : NULL); } |