[haskeline] #106: Do not insert escape codes for unrecognised commands

haskeline haskeline at projects.haskell.org
Fri Apr 16 04:09:36 EDT 2010


#106: Do not insert escape codes for unrecognised commands
-------------------+--------------------------------------------------------
Reporter:  duncan  |        Owner:  judah   
    Type:  defect  |       Status:  assigned
Priority:  major   |    Milestone:          
 Version:  0.6     |   Resolution:          
Keywords:          |  
-------------------+--------------------------------------------------------
Changes (by judah):

  * owner:  => judah
  * status:  new => assigned

Comment:

 Thanks for the report; I'll look into changing it so it doesn't print out
 characters after a problem key sequence.  One side-effect will be that if
 you paste a long string containing an unrecognized key sequence,
 everything after that key sequence will be ignored.  But the issue you
 described seems like a bigger annoyance.

 One thing, though: when I use ghci-6.12.1 and reproduce your above
 example, I do indeed hear a beep indicating that the command was not
 recognized.  If you don't get any response when you try it:

  - What do you have in your `.haskeline` file?
  - What happens if you add the line {{{bellStyle:VisualBell}}} or
 {{{bellStyle:AudibleBell}}} to `.haskeline`?
  - Do you get a beep or flash when you tab-complete a nonexistent
 identifier?
  - What shell and terminal program are you using?

-- 
Ticket URL: <http://trac.haskell.org/haskeline/ticket/106#comment:1>
haskeline <http://example.org/>
My example project


More information about the Haskeline mailing list