With ncurses 5.4 or later, it is necessary to have the
correct LC_CTYPE setting before calling initscr(). Otherwise, the line
drawing characters and boxes are not visible on Linux console in UTF-8 mode,
and that makes alsamixer totally unusable on such terminal.
#include <sys/signal.h>
#include <sys/time.h>
+#include <locale.h>
+
#ifndef CURSESINC
#include <ncurses.h>
#else
{
/* initialize ncurses
*/
+ setlocale(LC_CTYPE, "");
mixer_window = initscr ();
curs_set (0); /* hide the cursor */