Judah Jacobson <[email protected]> writes: > I think Haskeline+darcs already takes care of this (at least, it > should with the darcs HEAD and haskeline>=0.6.1.). It only provides > the fancy user interaction if the "terminal" stdin has echo=on (which > is false in the emacs shell).
Checking if input should be printed sounds like a very inaccurate way to detect when you're dealing with a line-oriented terminal emulator. Surely there's a more appropriate terminfo property? Failing that, would it be more robust to simply parse and discard a ^J character seen after a prompt? That was my impression of how Darcs worked before Haskeline (though I never examined the code). _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
