Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Dec 2008 10:47:22 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 154177 for review
Message-ID:  <200812061047.mB6AlMIv056236@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=154177

Change 154177 by ed@ed_flippo on 2008/12/06 10:47:08

	Show/hide cursor.

Affected files ...

.. //depot/projects/mpsafetty/sys/dev/syscons/scterm-teken.c#12 edit

Differences ...

==== //depot/projects/mpsafetty/sys/dev/syscons/scterm-teken.c#12 (text+ko) ====

@@ -380,6 +380,15 @@
 	scr_stat *scp = arg;
 
 	switch (cmd) {
+	case TP_SHOWCURSOR:
+		if (value) {
+			sc_change_cursor_shape(scp,
+			    CONS_RESET_CURSOR|CONS_LOCAL_CURSOR, -1, -1);
+		} else {
+			sc_change_cursor_shape(scp,
+			    CONS_HIDDEN_CURSOR|CONS_LOCAL_CURSOR, -1, -1);
+		}
+		break;
 	case TP_SWITCHVT:
 		sc_switch_scr(scp->sc, value);
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812061047.mB6AlMIv056236>