}
void clrscr (void)
+/* clear screen -- can be a no-op in tty mode */
{
+#ifdef SERGEEV
wclear(conio_scr);
wmove(conio_scr,0,0);
wrefresh(conio_scr);
+#endif /* SERGEEV */
}
int cprintf (char *format, ... )
va_start(argp,format);
vsprintf(buffer,format,argp);
va_end(argp);
+
+#ifdef SERGEEV
i=waddstr(conio_scr,buffer);
wrefresh(conio_scr);
+#else
+ i=printf(buffer);
+#endif /* SERGEEV */
return(i);
}
}
void gotoxy (int x, int y)
-/* address cusor -- OK for this to be a no-op in TTY mode */
+/* address cursor -- OK for this to be a no-op in TTY mode */
{
#ifdef SERGEEV
y--;