#include #include #include #include int main() { setlocale(LC_ALL, ""); initscr(); wchar_t *a = L"a"; wchar_t *c = L"c"; wchar_t *cmod = L"\u0301"; cchar_t aa; cchar_t cc; cchar_t ccmod; setcchar(&aa, a, 0, 0, NULL); setcchar(&cc, c, 0, 0, NULL); setcchar(&ccmod, cmod, 0, 0, NULL); move(0, 0); add_wch(&aa); move(0, 1); add_wch(&cc); move(0, 2); add_wch(&cc); move(0, 2); add_wch(&ccmod); move(0, 3); add_wch(&cc); refresh(); getchar(); endwin(); }