diff options
author | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-12 21:39:42 +0100 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@gmail.com> | 2020-02-15 13:52:56 +0100 |
commit | 4cff57f4045578bf4211f8e38db08d8b157c82a7 (patch) | |
tree | 2465441ae63b60bf35498ecdde3c1ad4cf80ee94 /src/interface.h | |
parent | 4aa2b7230439dd1c5c357b685365e915f3171aa2 (diff) | |
download | pa-sink-ctl-4cff57f4045578bf4211f8e38db08d8b157c82a7.tar.gz pa-sink-ctl-4cff57f4045578bf4211f8e38db08d8b157c82a7.tar.bz2 pa-sink-ctl-4cff57f4045578bf4211f8e38db08d8b157c82a7.zip |
Support UTF-8 characters
Switch to ncursesw (using pkg-config) for UTF-8 support.
Fallback to a X/Open Curses specification compatible
curses implementation if ncursesw is not available.
The fallback is intended for non-ncurses systems only.
UTF-8 multibyte does also work on the curses implementation
of NetBSD. We may need a proper configure check to assert
that the curses library is multibyte capable. Note that
X/Open Curses doesn't specify wide character (utf-8) compatiblity.
Diffstat (limited to 'src/interface.h')
-rw-r--r-- | src/interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.h b/src/interface.h index ef7cdc2..61ce990 100644 --- a/src/interface.h +++ b/src/interface.h @@ -22,7 +22,7 @@ #include <glib.h> #include <pulse/pulseaudio.h> -#include <ncurses.h> +#include <curses.h> #define SELECTED_MAIN_CTL -1 #define H_MSG_BOX 3 |