Daff - Data Diff


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

Type: class


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


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