Don't call set_console_mode if the window is not an actual console.