lua-resty-repl
lua-resty-repl copied to clipboard
strange behavior of Ctrl-C
When debugging lua code, it does nothing, just prints ^C.
When debugging nginx, it prints ^C and then nginx handles SIGINT.
Most reasonable behavior would be to:
- show next prompt line
- move cursor to the next line
https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#SEC44 http://stackoverflow.com/questions/16828378/readline-get-a-new-prompt-on-sigint