Improve d6p2 progress status

This commit is contained in:
Tyler Beckman 2024-12-06 02:09:01 -07:00
parent 5bae29ada4
commit 4dcb55ab4e
Signed by: Ty
GPG key ID: 2813440C772555A4

View file

@ -100,14 +100,14 @@ originalGrid.forEachIndexed rowLoop@{ i, row ->
print( print(
// Clear line // Clear line
"\r " + " " +
// Print status // Print status
"\rChecked row ${ "\rChecked row ${
i.toString().padStart(3, ' ') i.toString().padStart(3, ' ')
} column ${j.toString().padStart(3, ' ')} (${ } column ${j.toString().padStart(3, ' ')} (${
(((i * row.size + j + 1) * 100) / (originalGrid.size * originalGrid[0].size)).toString() (((i * row.size + j + 1) * 100) / (originalGrid.size * originalGrid[0].size)).toString()
.padStart(3, ' ') .padStart(3, ' ')
}%)" }%)\r"
) )
} }
} }