Color your terminal's output
Trass3r
un at known.com
Fri Oct 7 05:17:10 PDT 2011
> 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.
More information about the Digitalmars-d
mailing list