Use sigsetjmp/siglongjmp to catch SIGINT during readline/fgets input and jump back to the REPL loop with a fresh prompt. Running Lua code still gets interrupted via the existing laction/lstop mechanism. Fixes #11.
23 KiB
23 KiB