I've compiled (with mingw of course) this source & made a library API (libpdcurses) thanks to included makefiles within this sourcepack. Works great in "true Win32 console mode". Your own code with calls to functions in this PDCurses API - can almost always be moved to Linux/UNIX - and be recompiled with native gcc there - and finally linked with ncurses/curses - and you have a Linux/UNIX program with the same behaviour as in Win32. Not bad !
Good luck !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how do i use curses?
Do you have curses? I don't know of any Ncurses port for Win32. You'll have to use Win32 API to control the console.
Hi !
I recommend to download PDCurses from here:
http://pdcurses.sourceforge.net/index.html
I've compiled (with mingw of course) this source & made a library API (libpdcurses) thanks to included makefiles within this sourcepack. Works great in "true Win32 console mode". Your own code with calls to functions in this PDCurses API - can almost always be moved to Linux/UNIX - and be recompiled with native gcc there - and finally linked with ncurses/curses - and you have a Linux/UNIX program with the same behaviour as in Win32. Not bad !
Good luck !