Best we can do
This commit is contained in:
parent
aef9f7a4c9
commit
bc7f2a8540
@ -1,16 +1,28 @@
|
||||
|
||||
void call(String stepName) {
|
||||
stepCorner = '+'
|
||||
stepBanner = "║ $stepName ║"
|
||||
bannerWidth = stepBanner.length() - 2
|
||||
// banner = stepCorner + ('=' * bannerWidth) + stepCorner
|
||||
red = '\033[31m'
|
||||
blue = '\033[34m'
|
||||
normal = '\033[0m'
|
||||
|
||||
stepBanner = "║ $blue$stepName$red ║"
|
||||
bannerWidth = stepName.length() + 6
|
||||
|
||||
top = '╔' + ('═' * bannerWidth) + '╗'
|
||||
bottom = '╚' + ('═' * bannerWidth) + '╝'
|
||||
red = '\\e[31m'
|
||||
normal = '\\e[0m'
|
||||
ansiColor('xterm') {
|
||||
echo "$red$top\n$stepBanner\n$bottom$normal"
|
||||
}
|
||||
}
|
||||
|
||||
// fg_black = '\x1b[30m'
|
||||
// fg_red = "\x1b[31m"
|
||||
// fg_green = "\x1b[32m"
|
||||
// fg_yellow = "\x1b[33m"
|
||||
// fg_blue = "\x1b[34m"
|
||||
// fg_magenta = "\x1b[35m"
|
||||
// fg_cyan = "\x1b[36m"
|
||||
// fg_white = "\x1b[37m"
|
||||
// fg_default = "\x1b39m"
|
||||
// fg_reset = "\x1b[0m"
|
||||
|
||||
// ═ ║ ╒ ╓ ╔ ╕ ╖ ╗ ╘ ╙ ╚ ╛ ╜ ╝ ╞ ╟ ╠ ╡ ╢ ╣ ╤ ╥ ╦ ╧ ╨ ╩ ╪ ╫ ╬
|
||||
|
||||
Loading…
Reference in New Issue
Block a user