Handle Shift-Tab in console mode
Handle Ctrl-C events asynchronously on Windows