Fix CTRL+C not working in console