Ticket #36 (closed defect: fixed)
Print prefix even when stdin is not a terminal
|Reported by:||judah||Owned by:|
If stdin is not a terminal, haskeline will not print the prefix. This can cause confusion during testing; in particular, see http://bugs.darcs.net/issue1050 .
We should always print the prefix. I think that's more commonly the right thing, and if a program dislikes that behavior it can use hIsTerminalDevice to decide whether to use a prefix or not.
Note as a corollary that we should make sure that echo is turned on in the above case (for the same ease of testing).