summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_init.c')
-rw-r--r--src/c_init.c1
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);