projects
/
super-star-trek.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fe77f2
)
Better wrapup on replays.
author
Eric S. Raymond
<esr@thyrsus.com>
Tue, 10 Oct 2006 10:03:10 +0000
(10:03 +0000)
committer
Eric S. Raymond
<esr@thyrsus.com>
Tue, 10 Oct 2006 10:03:10 +0000
(10:03 +0000)
src/sst.py
patch
|
blob
|
history
diff --git
a/src/sst.py
b/src/sst.py
index 3b395ee1c7a9395e75ad6a74aa579d5be4fb52e0..103e49fa90c9a7d5a4c02bcb206bcd80f83b3010 100644
(file)
--- 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"