diff options
author | peter <peter@FreeBSD.org> | 2000-01-26 16:43:25 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-26 16:43:25 +0000 |
commit | eb50977cab0b353dfbe1f519884b4a0e7820f19a (patch) | |
tree | 506da7a5cf693bf8780ad013837cbd67913bedbb /contrib/ncurses/test/hanoi.c | |
parent | bacd15cb1fff2dee94d390e0f84c147cd82ea148 (diff) | |
download | FreeBSD-src-eb50977cab0b353dfbe1f519884b4a0e7820f19a.zip FreeBSD-src-eb50977cab0b353dfbe1f519884b4a0e7820f19a.tar.gz |
Import ncurses-5.0-release to update the 5.0-prerelease that we had.
Diffstat (limited to 'contrib/ncurses/test/hanoi.c')
-rw-r--r-- | contrib/ncurses/test/hanoi.c | 7 |
1 files changed, 4 insertions, 3 deletions
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 <test.priv.h> @@ -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; } |