You could use ANSI codes on posix to avoid a dependency on curses:
http://en.wikipedia.org/wiki/ANSI_escape_code#Colors
But I think using curses is ok. ncurses is MIT licensed and can be
used as a dynamic library, so I don't think there are license problems.

However, I'd recommend to load ncurses dynamically with dlopen/dlsym
and fallback to simple text output if the ncurses library cannot be
loaded.

+1
There shouldn't be a hard dependency on curses.

Reply via email to