Skip to content

Commit

Permalink
chore: merge pull request #82 from magalhaesm/fix/prompt-overwritting
Browse files Browse the repository at this point in the history
fix: remove overwritting when reaching prompt line limit
  • Loading branch information
magalhaesm authored Jun 6, 2024
2 parents 6339445 + fc06460 commit d2a7e3a
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 <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* 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 d2a7e3a

Please sign in to comment.