Ticket #3338 (closed feature request: fixed)

Opened 4 years ago

Last modified 4 years ago

Revert to old key bindings in ghci

Reported by: Raevel Owned by:
Priority: normal Milestone:
Component: GHCi Version: 6.10.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

As of GHC 6.10.3, ghci uses Haskeline. Some of the key bindings that previously existed are no longer bound. For instance, C-p/C-n were previously bound to the same keys as up/down arrow respectively.

I have only tested this on Mac OS X 10.5, but I assume it is an issue for all OS's.

I would like C-p/C-n to be bound like they were previously.

The following lines in .haskeline do what I request:

bind: ctrl-p up bind: ctrl-n down

Change History

Changed 4 years ago by judahj

  • status changed from new to closed
  • resolution set to fixed

Thanks for the report! We've already added those bindings in the development repo of Haskeline, so they should be included in ghc-6.12.1.

If you come across any more key bindings that you'd like added, please log a ticket at  http://trac.haskell.org/haskeline.

Note: See TracTickets for help on using tickets.