for this func mvin_wch, which in the manual looks like this.
int mvin_wch(int y, int x, cchar_t *wcval);
This make me expect that I should have a varable of type cchar_t
But when I try - just for a test, write a very simple app to create a variable of cchar_t
Code:
#include <stdio.h>
#include <curses.h>
int main(void)
{
cchar_t ccht;
return 0;
}
And then compile: gcc -lncursesw -g test.c -o test -Wall
I got compiler error 'cchar_t undeclared'
mvin_wch is in ncurses, and therefore I expect that cchar_t should be supported when including the curses header file,
What am I doing wrong.?
I should not need to use intscr() and endwin() just for this test.?