Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 0970f107518eb369c7c30d2e52dc5edc > files > 8

aumix-2.8-18mdv2008.1.src.rpm

michael@yohe.net - this fixes the blue cursor that appears on some terminals
as - CloseScreen() resets the color to default, but nothing ever gets printed
so the cursor was never updated.  Simply adding a carriage return does not
change the behavior, and will reset the cursor properly.

--- src/common.c	2002-11-25 10:07:08.000000000 -0600
+++ src/common.c	2002-11-25 10:06:50.000000000 -0600
@@ -251,6 +251,9 @@
 		close(mixer_fd);
 #if HAVE_CURSES
 		CloseScreen();
+		
+		/* simple carriage return to reset the cursor */
+		printf( "\n" );
 	}
 #endif				/* HAVE_CURSES */
 	exit(EXIT_SUCCESS);