From e60212adbf91269814deef3ece92000586115f7c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 10 Oct 2006 17:46:03 +0000 Subject: [PATCH] Minor fixes to curses interface. --- src/sst.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sst.py b/src/sst.py index d3047cd..38de3bd 100644 --- 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) - prompt_window.wclear() + 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: - wclrtoeol(curwnd) - wrefresh(curwnd) + curwnd.clrtoeol() + curwnd.refresh() def clrscr(): "Clear screen -- can be a no-op in tty mode." -- 2.31.1