Judah Jacobson <judah.jacobson@gmail.com> writes:
> On Thu, Feb 19, 2009 at 8:55 PM, Trent W. Buck <trentbuck@gmail.com> wrote:
>> AFAIK we currently either use libncurses directly, or not at all. I
>> see two Haskell third-party abstractions in cabal list: are either of
>> these viable and advisable to adopt?
>
> AFAICT, the only place where Darcs uses ncurses is to get the number
> of colors in the terminal. And we already have an option to use the
> Haskell terminfo package for this (cabal install -f terminfo). In
> fact, the "terminfo" package really depends on lib(n)curses anyway, so
> we should probably get rid of the FFI HAVE_CURSES (-f curses) case
> altogether.
>
> (Also, the terminfo package is used by Haskeline on POSIX, so it'll
> soon be a required dependency anway.)
Remove the option of using the libcurses package directly, i.e. forcing
everyone to use the Haskell terminfo package.
|