Репозитории ALT
Группа :: Звук
Пакет: aumix
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: aumix-2.8-rh-cursor-color.patch
Скачать
Скачать
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);