From: Eric S. Raymond Date: Tue, 10 Oct 2006 07:57:49 +0000 (+0000) Subject: curses interface seems to work! X-Git-Tag: 2.0~98 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=645f1a528a6490187abf34a044ffa50d8f137157;p=super-star-trek.git curses interface seems to work! --- diff --git a/src/sst.py b/src/sst.py index 864dfa1..635816e 100644 --- a/src/sst.py +++ b/src/sst.py @@ -3400,7 +3400,10 @@ def skip(i): pause_game() clrscr() else: - proutn("\n") + try: + curwnd.move(y+1, 0) + except curses.error: + pass else: global linecount linecount += 1 @@ -5311,7 +5314,7 @@ def srscan(): for j in range(QUADSIZE): sectscan(goodScan, i, j) skip(1) - + def eta(): "Use computer to get estimated time of arrival for a warp jump." w1 = coord(); w2 = coord()