]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/echochar.c
ncurses 6.0 - patch 20170909
[ncurses.git] / test / echochar.c
index 75916ba76f29f57b64d48248ae213e65eaa2a5e5..ef649ca4f87246b188b39a8bc5ac6cebe58e8def 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: echochar.c,v 1.13 2017/04/15 13:38:37 tom Exp $
+ * $Id: echochar.c,v 1.14 2017/09/04 11:48:15 tom Exp $
  *
  * Demonstrate the echochar function (compare to dots.c).
  * Thomas Dickey - 2006/11/4
  *
  * Demonstrate the echochar function (compare to dots.c).
  * Thomas Dickey - 2006/11/4
@@ -45,7 +45,7 @@ static time_t started;
 static void
 cleanup(void)
 {
 static void
 cleanup(void)
 {
-    endwin();
+    exit_curses();
 
     printf("\n\n%ld total chars, rate %.2f/sec\n",
           total_chars,
 
     printf("\n\n%ld total chars, rate %.2f/sec\n",
           total_chars,