Previous

Release v0.7.0 - TextBuffer and partial attribute markings

Current

Release v0.8.0 - asAnsiChars, asAnsiTexts, and just in general: Ansi

Next

Release v0.9.0 - Bash completion and ArgBinder validation

Release v0.8.0 - asAnsiChars, asAnsiTexts, and just in general: Ansi

The latest release of JCLI has been released, mostly featuring new InputRanges to help parse ANSI-encoded strings.

Changelog

The following changes were implemented:

  1. Feature - Add AsAnsiTextRange and asAnsiTexts to convert any range of AnsiSections into a range of AnsiTexts.
  2. Feature - Add AsAnsiCharRange and asAnsiChars to convert any range of AnsiSections into a range of AnsiChars.
  3. Feature - Add AnsiSectionRange, a range that breaks up a string into seperate ANSI encoding sections, and plain text sections.
  4. Feature - Add AnsiText.rawText[set] to set the raw, unencoded text.
  5. Feature - Add bg and fg setter overrides to AnsiText that take an AnsiColour.
  6. Testing - Rewrite the example test runner into a D version. The results look awesome.
  7. Breaking - Rename TextBufferChar to AnsiChar, and move it into ansi.d.
  8. Tweak - Mark parser.d as @safe
  9. Fix - AnsiColour's RGB ctor now correctly sets the colour type to AnsiColourType.rgb.
  10. Fix - AnsiText's colour setters now correctly set the isBg flag.
  11. Very important - A very important commit was made.