curses interface is now partly working.
[super-star-trek.git] / sst.c
diff --git a/sst.c b/sst.c
index f65a2a5e70aaabd347b0a44ce0920b63238a1080..8d82100865f63fd1a37f9581e18906a7cc703939 100644 (file)
--- a/sst.c
+++ b/sst.c
@@ -348,8 +348,8 @@ int main(int argc, char **argv) {
        int hitme;\r
        char ch;\r
 \r
-       prelim(); \r
        iostart();\r
+       prelim(); \r
        line[0] = '\0';\r
        if (argc > 1) {\r
                while (--argc > 0) {\r
@@ -380,7 +380,8 @@ int main(int argc, char **argv) {
                if (!ja()) break;\r
        }\r
        skip(1);\r
-       prout("May the Great Bird of the Galaxy roost upon your home planet.");\r
+       ioend();\r
+       puts("May the Great Bird of the Galaxy roost upon your home planet.");\r
 }\r
 \r
 \r