Improve d6p2 progress status
This commit is contained in:
parent
5bae29ada4
commit
4dcb55ab4e
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue