progressIndicator

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

Prints a progress indicator in the console.

Return

A string representing the progress indicator.

Parameters

size

The total size of the progress bar.

progress

The current progress.

total

The total amount of work to be done.

completeSymbol

The symbol used to represent completed progress.

processingSymbol

The symbol used to represent the current processing position.

unprocessedSymbol

The symbol used to represent unprocessed progress.