ncurses binding for Haskell
Haskell C Other
Switch branches/tags
Nothing to show
Latest commit 58a3b41 Nov 11, 2015 @skogsbaer Merge pull request #26 from shlevy/declare-ncurses-dependency
Declare dependency on curses library
Failed to load latest commit information.
.gitignore Add Cabal sandbox to .gitignore Aug 14, 2014
LICENSE fresh darcs repository Jun 7, 2005
README added pointer to instructions on windows installation (thanks Ilan Go… Mar 10, 2015
Setup.hs re-added support for unicode (use ncursesw if possible) Jan 15, 2010
configure support for windows Sep 10, 2011 support for windows Sep 10, 2011


               hscurses -- A Haskell Binding to ncurses

hscurses is a Haskell binding to the ncurses library, a library of
functions that manage an application's display on character-cell
terminals. hscurses also provides some basic widgets implemented on
top of the ncurses binding, such as a text input widget and a table

The hscurses library has been reported to work on Linux x86 using GHC
6.12.1, 7.0.3 and 7.2.1.

Building and installing the hscurses library with GHC


- GNU m4
- GHC >= 6.8
- ncurses

Build and installation steps:

  runhaskell Setup.hs configure
  runhaskell Setup.hs build
  runhaskell Setup.hs install

In order to generate the API documentation, you need haddock
( The command is then:

  runhaskell Setup.hs haddock

Using the hscurses library:

Just add the flag `-package hscurses' to the compiler flags. At the
moment, user documentation is only available through Haddock API

Windows support:

Windows support relies on pdcurses (,
which is already packaged for MinGW
and can be installed with mingw-get.

Thanks to José Romildo Malaquias ( for porting
hscurses to the windows platform!

There is also a detailed installation instruction by Ilan Godik 


   John Meacham <john @ repetae . net>, 2002-2004.
   Tuomo Valkonen <tuomov @>, 2004.
   Don Stewart <>, 2004.
   Stefan Wehr <>, 2004-2011.


John Meacham started the binding for his chat client Ginsu

Tuomo Valkonen integrated to code into Riot
(, with minor modifications.

Don Stewart improved the code for the Yi editor

Stefan Wehr turned the binding into a standalone library. He also
added some basic widgets.