diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-11-09 17:57:48 +0100 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-11-09 17:57:48 +0100 |
commit | b74d66ca6e9fe5ab557260e1d27299a8bd562640 (patch) | |
tree | f499009d361a959386340d719e0fd3da7a2891ce /src/c_init.c | |
parent | ctrlc \ (diff) | |
download | 42-minishell-b74d66ca6e9fe5ab557260e1d27299a8bd562640.tar.gz 42-minishell-b74d66ca6e9fe5ab557260e1d27299a8bd562640.tar.bz2 42-minishell-b74d66ca6e9fe5ab557260e1d27299a8bd562640.tar.xz 42-minishell-b74d66ca6e9fe5ab557260e1d27299a8bd562640.tar.zst 42-minishell-b74d66ca6e9fe5ab557260e1d27299a8bd562640.zip |
hellyeah brother, norm not checked because fuck lazare, new file and msh->sig
Diffstat (limited to 'src/c_init.c')
-rw-r--r-- | src/c_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_init.c b/src/c_init.c index 0939b29..0133f7b 100644 --- a/src/c_init.c +++ b/src/c_init.c @@ -123,6 +123,7 @@ short tputs(tgetstr("cr", NULL), 1, ft_putchar); m_prompt_psx(psx, msh); ft_bzero(nread, 4); + msh->sig = 0; tcaps.plen = (unsigned int)m_plen(msh->ps[psx - 1]); if (!(c_get_win_size(&tcaps.ws))) return (-1); |