PERFORCE change 154177 for review

Ed Schouten ed at FreeBSD.org
Sat Dec 6 02:47:23 PST 2008


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

Change 154177 by ed at 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;


More information about the p4-projects mailing list