[darcs-users] readline

Peter Simons simons at cryp.to
Tue Oct 14 18:31:55 UTC 2003


David,

I just read your posting on the Haskell mailing list about the
hSetBuffering issue ... Just a thought: With GHC 6.x, there is support
for the GNU readline library. Wouldn't it be better to use this
function rather than reading the input yourself?

It would circumvent the problems with buffering for now and provides
the user with sophisticated editing functionality -- including
history, if that's desirable.

Peter





More information about the darcs-users mailing list