Try using some ansi

This commit is contained in:
Jim Nicholson 2024-02-07 14:40:37 -08:00
parent 2427480775
commit 40cc08c123

View File

@ -1,8 +1,13 @@
void call(String stepName) {
stepCorner = '+'
stepBanner = "| $stepName |"
stepBanner = "║ $stepName ║"
bannerWidth = stepBanner.length() - 2
banner = stepCorner + ('=' * bannerWidth) + stepCorner
// banner = stepCorner + ('=' * bannerWidth) + stepCorner
echo "$banner\n$stepBanner\n$banner"
top = '╔' + ('═' * bannerWidth) + '╗'
bottom = '╚' + ('═' * bannerWidth) + '╝'
echo "$top\n$stepBanner\n$bottom"
}
//