disable curses device resize that crashes on windows