[darcs-devel] [issue671] Use readline when getting user input

Jérome Perrin bugs at darcs.net
Sun Feb 10 21:28:10 UTC 2008


New submission from Jérome Perrin <perrinjerome at gmail.com>:

The attached patch it a proof of concept to enable readline when asking user,
for example in the "What is the patch name?" question on record command.
The motivation is that arrow keys doesn't work there, and simply print sequences
like "^[[D".

I'm new to haskell, this patch has some problems:
* in the configure, it checks for the presence of readline library, not haskell
module. Maybe this is not correct.
* program does not exit properly when the user press C-c during askUser.

----------
files: darcs.readline_for_askUser.diff
messages: 3302
nosy: beschmi, droundy, kowey, perrinjerome, tommy
priority: feature
status: unread
title: Use readline when getting user input
topic: UI

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue671>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs.readline_for_askUser.diff
Type: application/octet-stream
Size: 2898 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20080210/e972c807/attachment.obj 


More information about the darcs-devel mailing list