diff options
Diffstat (limited to 'src/c_ctrls.c')
-rw-r--r-- | src/c_ctrls.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/c_ctrls.c b/src/c_ctrls.c index 58b4517..af0528e 100644 --- a/src/c_ctrls.c +++ b/src/c_ctrls.c @@ -17,23 +17,13 @@ #include <term.h> #include "c_ctrls.h" +#include "c_utils_next.h" #include "c_utils.h" #include "m_prompt.h" #include "m_loop.h" #include "s_destroy.h" #include "u_utils.h" -t_msh *c_get_msh(int mode, t_msh *src) -{ - static t_msh *msh; - - if (mode == 1) - { - msh = src; - } - return (msh); -} - short c_ctrl_d(t_msh *msh) { int tmp; @@ -76,7 +66,6 @@ void c_signal_int(int signo) write(1, "\n", 1); msh = c_get_msh(0, msh); msh->sig = 130; - ioctl(1, TIOCSTI, "\002"); } void c_signal_ign(int signo) |