From 4cff57f4045578bf4211f8e38db08d8b157c82a7 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 12 Feb 2020 21:39:42 +0100 Subject: 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. --- src/interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/interface.c') diff --git a/src/interface.c b/src/interface.c index c7d6d5e..3086ce1 100644 --- a/src/interface.c +++ b/src/interface.c @@ -24,7 +24,7 @@ #include #include -#include +#include #include "interface.h" #include "ctl.h" -- cgit