Fix readline behaviour on SIGINT
authorLukas Jiriste <ljiriste@student.42prague.com>
Sat, 31 Aug 2024 07:10:24 +0000 (09:10 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Sat, 31 Aug 2024 07:10:24 +0000 (09:10 +0200)
commit304bc8b6bb6c2a5236841ebd71125ddf034f8322
tree89a97ef593b0ac431589c2bcc42afd67a20efb3a
parent59b4114bd1d71da10e96dbd25cd5e7fa3d856bf1
Fix readline behaviour on SIGINT

Special signal handler is provided that uses readling functions.
I could not find info on whether the functions used in this handler are
reentrant but hopefully this will work.
src/main.c