[haskeline] #100: user defined prompt not restored after history search finished with enter
haskeline
haskeline at projects.haskell.org
Mon Sep 28 14:45:20 EDT 2009
#100: user defined prompt not restored after history search finished with enter
--------------------+-------------------------------------------------------
Reporter: phercek | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Version: | Keywords:
--------------------+-------------------------------------------------------
When I find the wanted string in history and confirm it with enter then
''{{{getInputLine}}}'' returns without restoring the user defined prompt
followed with the string found. For example, when I type ''{{{ctrl-r : m a
enter}}}'' then the text on the terminal will be
''{{{(reverse-i-search)`:ma': :main}}}'' instead of ''{{{*Main>
:main}}}''. So the user defined prompt is not there.[[BR]]
The bug can be worked around by adding e.g. ''{{{bind: return right
return}}}'' to ''{{{~/.haskeline}}}''.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/100>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list