curses interface seems to work!
authorEric S. Raymond <esr@thyrsus.com>
Tue, 10 Oct 2006 07:57:49 +0000 (07:57 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 10 Oct 2006 07:57:49 +0000 (07:57 +0000)
src/sst.py

index 864dfa1b78586e179b3bd614af62375ad2d3250e..635816e42e1cc910418ef1b450d86eaf104ac906 100644 (file)
@@ -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()