projects
/
super-star-trek.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fixes to curses interface.
[super-star-trek.git]
/
src
/
sst.py
diff --git
a/src/sst.py
b/src/sst.py
index d3047cd7dd8b2d2e2e134ea02769505cc4f9f232..38de3bd08a2b100388390386e19d2071fbd663cc 100644
(file)
--- a/
src/sst.py
+++ b/
src/sst.py
@@
-3357,7
+3357,7
@@
def pause_game():
if game.options & OPTION_CURSES:
drawmaps(0)
setwnd(prompt_window)
if game.options & OPTION_CURSES:
drawmaps(0)
setwnd(prompt_window)
- prompt_window.
w
clear()
+ prompt_window.clear()
prompt_window.addstr(prompt)
prompt_window.getstr()
prompt_window.clear()
prompt_window.addstr(prompt)
prompt_window.getstr()
prompt_window.clear()
@@
-3452,8
+3452,8
@@
def setwnd(wnd):
def clreol():
"Clear to end of line -- can be a no-op in tty mode"
if game.options & OPTION_CURSES:
def clreol():
"Clear to end of line -- can be a no-op in tty mode"
if game.options & OPTION_CURSES:
-
wclrtoeol(curwnd
)
-
wrefresh(curwnd
)
+
curwnd.clrtoeol(
)
+
curwnd.refresh(
)
def clrscr():
"Clear screen -- can be a no-op in tty mode."
def clrscr():
"Clear screen -- can be a no-op in tty mode."