From eb50977cab0b353dfbe1f519884b4a0e7820f19a Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 26 Jan 2000 16:43:25 +0000 Subject: Import ncurses-5.0-release to update the 5.0-prerelease that we had. --- contrib/ncurses/test/hanoi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'contrib/ncurses/test/hanoi.c') diff --git a/contrib/ncurses/test/hanoi.c b/contrib/ncurses/test/hanoi.c index 25d906e..3ee64b0 100644 --- a/contrib/ncurses/test/hanoi.c +++ b/contrib/ncurses/test/hanoi.c @@ -14,7 +14,7 @@ * * Date: 05.Nov.90 * - * $Id: hanoi.c,v 1.15 1997/10/18 20:11:20 tom Exp $ + * $Id: hanoi.c,v 1.16 1999/10/23 15:01:01 tom Exp $ */ #include @@ -118,8 +118,10 @@ unsigned char AutoFlag = 0; fprintf(stderr, "Min screen length 24 lines\n"); return EXIT_FAILURE; } - if(AutoFlag) + if(AutoFlag) { + curs_set(0); leaveok(stdscr, TRUE); /* Attempt to remove cursor */ + } InitTiles(NTiles); DisplayTiles(); if(AutoFlag) { @@ -148,7 +150,6 @@ unsigned char AutoFlag = 0; } } } - curs_set(1); endwin(); return EXIT_SUCCESS; } -- cgit v1.1