[haskeline] #141: vi mode spontaneously exits command mode
haskeline
haskeline at projects.haskell.org
Mon Oct 20 06:13:43 BST 2014
#141: vi mode spontaneously exits command mode
---------------------+------------------------------------------------------
Reporter: elaforge | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Version: | Keywords:
---------------------+------------------------------------------------------
When I have a lot of modules (150-200) loaded via bytecode, ghci gets very
laggy, and haskeline has a tendency to go from command mode back to insert
mode spontaneously. For example, I'll press ctrl-[ k to get the previous
history entry, and get a 'k' instead. Or it will go to the previous
entry, but when I hit 'j' it will insert a 'j'. All of this is after some
lag.
The problem doesn't happen if I use up arrow, but it makes it hard to use
ghci with lots of bytecode loaded. The lagginess and problem don't happen
if I load the modules as binary.
I mostly notice this happening when getting history with 'j' and 'k', but
if I press ctrl-[ h too quickly I get a beep and stay in insert mode. I
have to wait a moment after the ctrl-[ to get to command mode.
OS X, ghc 7.8.3, I'll try to repro on linux later.
--
Ticket URL: <http://trac.haskell.org/haskeline/ticket/141>
haskeline <http://example.org/>
My example project
More information about the Haskeline
mailing list