For some reason ncurses does not like stdin, I know I could use instead getstr(), here it is what I'm doing so far,
while (fgets(str, BUF, stdin) != NULL) {
printf("input something ");
}
How could I get an alternative to stdin for this loop (perhaps using getstr())?
Any help will be appreciate it.
Thanks