[haskeline] #78: control characters in prompt mess up width calculations

haskeline haskeline at projects.haskell.org
Mon Aug 23 08:31:20 EDT 2010


#78: control characters in prompt mess up width calculations
-------------------+--------------------------------------------------------
Reporter:  judah   |        Owner:  judah   
    Type:  defect  |       Status:  assigned
Priority:  minor   |    Milestone:          
 Version:  0.6     |   Resolution:          
Keywords:          |  
-------------------+--------------------------------------------------------
Comment (by guest):

 Really good (& fast!) work, thanks :-).

 I found another length-calculating problem: It should be calculated only
 from last line.
 See example:

 {{{
 "Cool prompt on next line:\nPrompt> "
 }}}

 (I know that this is prompt misuse (or even abuse), but it is possibility
 O:-).)

 (Don't know whether this issue fits this ticket, sorry if not.)

 --
 lordrat

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


More information about the Haskeline mailing list