Changes between Version 2 and Version 3 of ControlSequencesInPrompt

Show
Ignore:
Timestamp:
09/11/10 00:25:29 (4 years ago)
Author:
judah (IP: 75.85.89.204)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSequencesInPrompt

    v2 v3  
    1 = Control Sequences in the Prompt String = 
     1= Escape Sequences in the Prompt String = 
    22 
    33As of version 0.6.3 (#78), Haskeline will compute the correct width for input prompts that contain POSIX escape sequences such as color changes.  However, the ending must be indicated in the prompt string, since there's no way for Haskeline to detect it automatically. 
    44 
    55The ending is denoted by the control character {{{'\STX'}}} (i.e., ASCII {{{'\002'}}}).  Any substring in the prompt of the form {{{"\ESC...\STX"}}} will be treated as zero-width for the purposes of line-breaking. 
     6 
     7On Windows, escape sequences of the form "\ESC...\STX" will be ignored. 
    68 
    79 == Some examples ==