PPrinter

constructor(defaultWidth: Int = 100, defaultHeight: Int = 500, defaultIndent: Int = 2, defaultEscapeUnicode: Boolean = false, defaultShowFieldNames: Boolean = true, colorLiteral: Attrs = FansiColor.Green, colorApplyPrefix: Attrs = FansiColor.Yellow, showGenericForCollections: Boolean = true)

Parameters

defaultWidth

How wide to allow a pretty-printed value to become before wrapping

defaultHeight

How tall to allow the pretty-printed output to become before truncated it with a ...

defaultIndent

How many spaces to indent each nested [Tree.Apply] by

colorLiteral

What color to assign to literals like "lol" or 31337

colorApplyPrefix

What color to assign to Foo in Foo(bar, baz)

additionalHandlers

Provide this to override how certain types are pretty-printed at runtime