1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-05-06 20:29:52 -07:00

Update to 1.0.0-beta.

This commit is contained in:
Cedric Beust 2015-10-22 18:18:31 -07:00
parent db40768ea0
commit 5d1d63e9b6
43 changed files with 129 additions and 128 deletions

View file

@ -20,7 +20,7 @@ class AsciiArt {
" |_|\\_\\ \\___/ |_.__/ \\__,_| |_| \\__| "
)
val banner : String get() = BANNERS.get(Random().nextInt(BANNERS.size()))
val banner : String get() = BANNERS.get(Random().nextInt(BANNERS.size))
fun box(s: String) : List<String> {
val ul = "\u2554"
@ -38,9 +38,9 @@ class AsciiArt {
}
return arrayListOf(
ul + r(s.length() + 2, h) + ur,
ul + r(s.length + 2, h) + ur,
"$v $s $v",
bl + r(s.length() + 2, h) + br)
bl + r(s.length + 2, h) + br)
}
fun logBox(s: String) {