[darcs-devel] [issue1366] Never use libcurses directly (only the Haskell terminfo package)
Trent Buck
bugs at darcs.net
Fri Feb 20 07:30:37 UTC 2009
New submission from Trent Buck <trentbuck at gmail.com>:
Judah Jacobson <judah.jacobson at gmail.com> writes:
> On Thu, Feb 19, 2009 at 8:55 PM, Trent W. Buck <trentbuck at 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.
----------
messages: 7345
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, twb
status: unread
title: Never use libcurses directly (only the Haskell terminfo package)
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1366>
__________________________________
More information about the darcs-devel
mailing list