ConsoleUtils

Types

Link copied to clipboard

Methods for clearing the console.

Link copied to clipboard

Functions

Link copied to clipboard
fun clearConsole(method: ConsoleUtils.ClearConsoleMethod = ClearConsoleMethod.NEWLINES)

Clears the console screen.

Link copied to clipboard
fun colorIndicator(progress: Long, total: Long): String

Returns a color code based on the progress percentage.

Link copied to clipboard
fun progressIndicator(size: Long, progress: Long, total: Long, completeSymbol: Char = '=', processingSymbol: Char = '>', unprocessedSymbol: Char = '.'): String

Prints a progress indicator in the console.