`wbkdset' doesn't work so well. Use `wbkgd' instead.
[sw-tools] / src / pres_curses.c
index 44770c6..81f21e5 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: pres_curses.c,v 1.3 1999/07/16 12:49:58 mdw Exp $
+ * $Id: pres_curses.c,v 1.4 1999/07/16 16:52:28 mdw Exp $
  *
  * Curses-based output presentation
  *
@@ -29,6 +29,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: pres_curses.c,v $
+ * Revision 1.4  1999/07/16 16:52:28  mdw
+ * `wbkdset' doesn't work so well.  Use `wbkgd' instead.
+ *
  * Revision 1.3  1999/07/16 12:49:58  mdw
  * Improve exit status display.  New interface from `doto' project.
  *
@@ -231,8 +234,7 @@ int curses_init(archcons *a)
     scrollok(c->w, TRUE);
     leaveok(c->w, TRUE);
     leaveok(c->s, TRUE);
-    wbkgdset(c->s, A_STANDOUT);
-    werase(c->s);
+    wbkgd(c->s, A_STANDOUT);
     mvwprintw(c->s, 0, 0, "  %s [running]\n", c->e->arch);
     wnoutrefresh(c->w);
     wnoutrefresh(c->s);