summaryrefslogtreecommitdiffstats
path: root/src/m_prompt.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-24 18:05:34 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-24 18:05:34 +0200
commitf10e352f8740009d1a93f90160fda7aeabf2a2dc (patch)
treed8c98fdad9cb985d05e63d0999c4c252c233b8c8 /src/m_prompt.c
parentTODO update (diff)
download42-minishell-f10e352f8740009d1a93f90160fda7aeabf2a2dc.tar.gz
42-minishell-f10e352f8740009d1a93f90160fda7aeabf2a2dc.tar.bz2
42-minishell-f10e352f8740009d1a93f90160fda7aeabf2a2dc.tar.xz
42-minishell-f10e352f8740009d1a93f90160fda7aeabf2a2dc.tar.zst
42-minishell-f10e352f8740009d1a93f90160fda7aeabf2a2dc.zip
Counter | and counter \
Diffstat (limited to 'src/m_prompt.c')
-rw-r--r--src/m_prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_prompt.c b/src/m_prompt.c
index 887fbbe..ad3c957 100644
--- a/src/m_prompt.c
+++ b/src/m_prompt.c
@@ -94,6 +94,6 @@ void
m_prompt_psx(uint8_t x,
t_msh *msh)
{
- m_update_psx(1, msh);
+ m_update_psx(x, msh);
ft_dprintf(STDERR_FILENO, "%s", msh->ps[x - 1]);
}