X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Fsst.py;h=103e49fa90c9a7d5a4c02bcb206bcd80f83b3010;hp=3b395ee1c7a9395e75ad6a74aa579d5be4fb52e0;hb=9bb286f638aae37a21d25d3a2a4cb8f11deb22cc;hpb=5fe77f21f31224ab85de2b6d553c9c1cc589915e diff --git a/src/sst.py b/src/sst.py index 3b395ee..103e49f 100644 --- a/src/sst.py +++ b/src/sst.py @@ -3342,11 +3342,12 @@ def iostart(): setwnd(fullscreen_window) def ioend(): - "Wrap up I/O. Presently a stub." - stdscr.keypad(False) - curses.echo() - curses.nocbreak() - curses.endwin() + "Wrap up I/O." + if game.options & OPTION_CURSES: + stdscr.keypad(False) + curses.echo() + curses.nocbreak() + curses.endwin() def waitfor(): "Wait for user action -- OK to do nothing if on a TTY"