summaryrefslogtreecommitdiff
path: root/recipes/kexecboot/kexecboot-0.4/switch-cursor-off.patch
blob: 632cc6a01cb3728701c04b8530d3d7a50b966cea (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/kexecboot.c
+++ b/kexecboot.c
@@ -512,6 +512,9 @@ int main(int argc, char **argv)
	DPRINTF("FB angle is %d, input device is %s\n", angle, eventif);
	DPRINTF("Going to fb mode\n");

+	/* Switch cursor off. NOTE: works only when master-console is tty */
+	printf("\033[?25l\n");
+
	if ((fb = fb_new(angle)) == NULL)
		exit(-1);