summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 13:55:08 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-19 13:55:08 +0200
commit7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016 (patch)
tree5e1baac90873e7cefc1f45ec0cfdcbbe4f695309 /src/m_loop.c
parenth still in progress (diff)
download42-minishell-7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016.tar.gz
42-minishell-7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016.tar.bz2
42-minishell-7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016.tar.xz
42-minishell-7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016.tar.zst
42-minishell-7eb6a40ab20a4970822a1d34fbb9a8dbc87cd016.zip
In progress
Diffstat (limited to '')
-rw-r--r--src/m_loop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 0d90b0a..8f3d8d3 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -129,6 +129,7 @@ uint8_t
int8_t gnl;
gnl = 1;
+ msh->curr_hist = hist;
while (gnl > 0)
{
if (fd == STDIN_FILENO)