Daff - Data Diff

daff.TerminalDiffRender

Decorate a diff being displayed on a console. Colors, glyphs, any other eye-candy we like.

Type: class

Constructor:

new(?flags : CompareFlags, ?delim : String, ?diff : Bool)

Methods:

alignColumns (enable : Bool) : Void

Parameters: enable choose whether columns should be aligned by padding

render (t : Table) : String
  Generate a string with appropriate ANSI colors for a given diff.

Parameters: t a tabular diff (perhaps generated by TableDiff.hilite)

Returns: the diff in text form, with inserted color codes