Are you using ncurses itself or are you using pdcurses?
Did you download a precompiled library or compile it yourself?
Are you compiling your program through mingw or msys2, or just directly on Windows?
You mentioned Linux, too. Have you also tried it on Linux?
Post the shortest program that demonstrates the problem.