mirror of
https://github.com/troglobit/editline.git
synced 2025-09-25 08:28:06 +08:00

We want Ctrl-C to work as in Bash, so let's just catch SIGINT (and do nothing). Also, the default Ctrl-D handler does what we want, i.e. exit the CLI when we're on an empty line. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>