[darcs-devel] [patch567] resolve issue1648: darcs now uses tty instead of stdin in darcs apply --interactive

BSRK Aditya bugs at darcs.net
Fri Mar 25 06:48:56 UTC 2011


New submission from BSRK Aditya <bsrkaditya at gmail.com>:

I added value constructor TermConfig to type constructor
PromptConfig. Then I modified promptChar so that values
made from TermConfig take input from tty.

Then in SelectChanges.hs I modified promptUser so that
it uses TermConfig if the command is apply --interactive.

It passed all tests. However I could not figure out on how
to write a test for this patch.

----------
files: patch
messages: 13830
nosy: bsrkaditya
status: needs-review
title: resolve issue1648: darcs now uses tty instead of stdin in darcs apply --interactive

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch567>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 16176 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20110325/772b459f/attachment.obj>


More information about the darcs-devel mailing list