From: Eric S. Raymond Date: Sun, 6 Feb 2005 18:58:39 +0000 (+0000) Subject: Some changes get reverted. X-Git-Tag: 2.0~351 X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=commitdiff_plain;h=15434538cbe79bdd712a89087d5b6193c3e68ce3 Some changes get reverted. --- diff --git a/io.c b/io.c index 05dd489..e14e853 100644 --- a/io.c +++ b/io.c @@ -5,7 +5,6 @@ #include #include #include -#include #include "sst.h" #include "sstlinux.h" @@ -63,7 +62,7 @@ void iostart(int usecurses) report_window = newwin(10, 0, 1, 25); lrscan_window = newwin(10, 0, 0, 64); message_window = newwin(0, 0, 12, 0); - prompt_window = newwin(1, 0, LINES-1, 0); + prompt_window = newwin(1, 0, LINES-2, 0); scrollok(message_window, TRUE); setwnd(fullscreen_window); textcolor(DEFAULT); @@ -163,7 +162,6 @@ void prout(char *fmt, ...) void prouts(char *fmt, ...) /* print slowly! */ { - clock_t endTime; char *s, buf[BUFSIZ]; va_list ap; va_start(ap, fmt); @@ -171,8 +169,7 @@ void prouts(char *fmt, ...) va_end(ap); skip(1); for (s = buf; *s; s++) { - endTime = clock() + CLOCKS_PER_SEC*0.05; - while (clock() < endTime) continue; + delay(500); if (curses) { waddch(curwnd, *s); wrefresh(curwnd);