」 feat: ctrl \ handled

This commit is contained in:
2024-07-13 18:52:00 +02:00
parent 60070f9d60
commit 967ec80d31
2 changed files with 7 additions and 5 deletions

View File

@ -6,7 +6,7 @@
/* By: mmoussou <mmoussou@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/24 11:18:04 by adjoly #+# #+# */
/* Updated: 2024/07/13 16:55:57 by adjoly ### ########.fr */
/* Updated: 2024/07/13 18:51:03 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -54,7 +54,9 @@ int main(int ac, char **av, char **env)
while (1)
{
signal(SIGINT, &sig_c);
signal(SIGQUIT, SIG_IGN);
prompt = get_prompt(env_l);
rl = readline(prompt);
free(prompt);
if (!rl)

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/05 21:14:04 by adjoly #+# #+# */
/* Updated: 2024/07/13 17:21:59 by adjoly ### ########.fr */
/* Updated: 2024/07/13 18:48:16 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */