[haskeline] #110: Pressing Enter results in M
haskeline
haskeline at projects.haskell.org
Fri Aug 13 02:33:55 EDT 2010
#110: Pressing Enter results in M
-------------------+--------------------------------------------------------
Reporter: guest | Owner: judah
Type: defect | Status: closed
Priority: major | Milestone:
Version: 0.6 | Resolution: fixed
Keywords: |
-------------------+--------------------------------------------------------
Changes (by judah):
* status: assigned => closed
* resolution: => fixed
Comment:
Ok, I've found the problem; thanks for your help in tracking it down.
Haskeline wasn't recognizing xterm's key sequence for the enter key.
(This is normally just "\n", but Haskeline puts itself into keypad mode so
we have to be a little more careful.)
I've committed a fix in the main Darcs repo at
http://code.haskell.org/haskeline . I'll make a new release within the
next week (after taking care of some other pending issues). In the
meantime, you can work around the problem by creating a {{{.haskeline}}}
file in your home directory with the following line:
{{{
keyseq: "\ESCOM" return
}}}
Please reopen this ticket if that does not enable the enter key on your
machine.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/110#comment:4>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list