Skip to content

Instance Method

clear(_:)

Clears previously printed Console output according to the ConsoleClear type given.
func clear(_ type: ConsoleClear)

Parameters

type

ConsoleClear type to use, e.g., single line or whole screen.