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/8c1ec0641383
branches:  trunk
changeset: 979596:8c1ec0641383
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 432db98efda0 -r 8c1ec0641383 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