1 |
michael@yohe.net - this fixes the blue cursor that appears on some terminals |
2 |
as - CloseScreen() resets the color to default, but nothing ever gets printed |
3 |
so the cursor was never updated. Simply adding a carriage return does not |
4 |
change the behavior, and will reset the cursor properly. |
5 |
|
6 |
--- src/common.c 2002-11-25 10:07:08.000000000 -0600 |
7 |
+++ src/common.c 2002-11-25 10:06:50.000000000 -0600 |
8 |
@@ -251,6 +251,9 @@ |
9 |
close(mixer_fd); |
10 |
#if HAVE_CURSES |
11 |
CloseScreen(); |
12 |
+ |
13 |
+ /* simple carriage return to reset the cursor */ |
14 |
+ printf( "\n" ); |
15 |
} |
16 |
#endif /* HAVE_CURSES */ |
17 |
exit(EXIT_SUCCESS); |