From 9bb286f638aae37a21d25d3a2a4cb8f11deb22cc Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 10 Oct 2006 10:03:10 +0000 Subject: [PATCH] Better wrapup on replays. --- src/sst.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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" -- 2.31.1