Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/testpat set the cursor to invisible



details:   https://anonhg.NetBSD.org/src/rev/8a20e1592b6c
branches:  trunk
changeset: 1017631:8a20e1592b6c
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jan 02 12:12:26 2021 +0000

description:
set the cursor to invisible

diffstat:

 games/testpat/testpat.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f58ee36faa98 -r 8a20e1592b6c games/testpat/testpat.c
--- a/games/testpat/testpat.c   Sat Jan 02 12:10:17 2021 +0000
+++ b/games/testpat/testpat.c   Sat Jan 02 12:12:26 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: testpat.c,v 1.2 2021/01/02 12:10:17 jmcneill Exp $ */
+/* $NetBSD: testpat.c,v 1.3 2021/01/02 12:12:26 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2016 Nathanial Sloss <nathanialsloss%yahoo.com.au@localhost>
@@ -63,6 +63,7 @@
                printf("\n");
                return EXIT_FAILURE;
        }
+       curs_set(0);
 
        if (argc > 2) {
                endwin();



Home | Main Index | Thread Index | Old Index