Add some signal handling for prompt
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 29 Aug 2024 14:19:07 +0000 (16:19 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 29 Aug 2024 15:12:16 +0000 (17:12 +0200)
commit05833e04e9e18ba2538eb1d4cb6da00e7e34ecf1
tree6d50b7d99f8bf6f79727dd4aa2396aa08fdaaadd
parent0c6238561e96c0c17ce910913a98536a5aad6f66
Add some signal handling for prompt

Signal handling for prompt is mostly done. Only generating a new prompt
when readline gets SIGINT and not erasing ^\ on ctrl-\ on NOLEAKS is
unresolved.
The expected behavior is to output a newline and a new prompt, readline
instead moves the cursor to the start of the current line while
preserving the prompt (so input rewrites the prompt).
inc/minishell.h
src/builtins/echo.c.orig [new file with mode: 0644]
src/input_method.c
src/main.c