Looking at the code, it doesn't look too hard to properly implement a third way of handling things. My suggestion is, to use a macro:
define USE_NCURSES
This may be used to enable ncurses based support, otherwise use ANSI escapes. I might work on this on my own,as I need it to use ANSI rather than curses.
This would imply a third section in console.c to handle ANSI escape based output.
Looking at the code, it doesn't look too hard to properly implement a third way of handling things. My suggestion is, to use a macro:
define USE_NCURSES
This may be used to enable ncurses based support, otherwise use ANSI escapes. I might work on this on my own,as I need it to use ANSI rather than curses.
This would imply a third section in console.c to handle ANSI escape based output.