textLoadingBar

fun textLoadingBar(percent: Int, progress: ColoredChar = '█'.colored(TextColor.WHITE), remaining: ColoredChar = '░'.colored(TextColor.DARK_GRAY), length: Int = 10): Component

Generates a progress bar based on the percentage (range 0 to 100).