Skip to content

Commit

Permalink
fix: remove overwritting when reaching prompt line limit
Browse files Browse the repository at this point in the history
  • Loading branch information
ygor-sena committed Jun 6, 2024
1 parent 6339445 commit fc06460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/minishell.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* By: yde-goes <yde-goes@student.42sp.org.br> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/08 11:06:36 by mdias-ma #+# #+# */
/* Updated: 2023/01/20 16:47:16 by yde-goes ### ########.fr */
/* Updated: 2024/06/06 14:03:51 by yde-goes ### ########.fr */
/* */
/* ************************************************************************** */

#include "minishell.h"

#define GREEN_PROMPT "\e[m\e[1;32m❯ \e[m"
#define GREEN_PROMPT "\001\e[m\e[1;32m❯ \e[m\002"

static void msh_loop(void);
static void prompt_logo(void);
Expand Down

0 comments on commit fc06460

Please sign in to comment.