summaryrefslogtreecommitdiffstats
path: root/src/m_prompt.c
diff options
context:
space:
mode:
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]);
}