/[packages]/cauldron/aumix/current/SOURCES/aumix-fix-cursor-color-on-exit.patch
ViewVC logotype

Contents of /cauldron/aumix/current/SOURCES/aumix-fix-cursor-color-on-exit.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 305 - (show annotations) (download)
Fri Jan 7 21:39:43 2011 UTC (13 years, 3 months ago) by pterjan
File size: 599 byte(s)
imported package aumix
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);

  ViewVC Help
Powered by ViewVC 1.1.30