chore: update osu command progress style
This commit is contained in:
1 file changed
+1
-1
@@ -49,7 +49,7 @@ class OSUCommand : BaseCommand() {
|
|||||||
private fun generateProgressBar(percent: Int, length: Int = 10): String {
|
private fun generateProgressBar(percent: Int, length: Int = 10): String {
|
||||||
val completedLength = (percent * length) / 100
|
val completedLength = (percent * length) / 100
|
||||||
val remainingLength = length - completedLength
|
val remainingLength = length - completedLength
|
||||||
val progressBar = "█".repeat(completedLength) + " ".repeat(remainingLength)
|
val progressBar = "█".repeat(completedLength) + "=".repeat(remainingLength)
|
||||||
return "[$progressBar] $percent%"
|
return "[$progressBar] $percent%"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user