[haskeline] #102: Haskeline does not recognize many keys that readline did
haskeline
haskeline at projects.haskell.org
Fri Apr 16 03:53:29 EDT 2010
#102: Haskeline does not recognize many keys that readline did
-------------------+--------------------------------------------------------
Reporter: josh | Owner:
Type: defect | Status: closed
Priority: major | Milestone:
Version: | Resolution: fixed
Keywords: |
-------------------+--------------------------------------------------------
Changes (by judah):
* status: new => closed
* resolution: => fixed
Comment:
Ok, I've pushed the following patches to make ctrl-left/right skip words
by default:
{{{
Fri Apr 16 00:33:01 PDT 2010 Judah Jacobson <judah.jacobson at gmail.com>
* Hard-code some defaults for ctrl-left/right.
Fri Apr 16 00:20:30 PDT 2010 Judah Jacobson <judah.jacobson at gmail.com>
* Add Emacs bindings for ctrl-left/right to skip words.
}}}
Since there's no standard terminfo capability for ctrl-arrow-keys, I hard-
coded some standard keysequences (including the one you mentioned above)
which should allow it to work OK on most common terminals.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/102#comment:7>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list