mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-29 09:10:11 +08:00
[console] Add version bar before logo
This commit is contained in:
parent
678fe6fd6b
commit
bf362f9d75
@ -208,6 +208,21 @@ ___ ____ _ _____ _
|
||||
|
||||
*/
|
||||
append("\n\n")
|
||||
|
||||
val textA = """[ Mirai consosle $version ]"""
|
||||
val logoLength = 94
|
||||
lightBlue()
|
||||
val barlength = logoLength - textA.length
|
||||
val leftWidth = barlength / 2
|
||||
repeat(leftWidth) {
|
||||
append('=')
|
||||
}
|
||||
append(textA)
|
||||
repeat(barlength - leftWidth) {
|
||||
append('=')
|
||||
}
|
||||
append('\n')
|
||||
|
||||
lightYellow().appendLine(""" __ __ __ __ ______ __""")
|
||||
lightYellow().appendLine("""| \ / \ \ | \/ \ | \""")
|
||||
lightYellow().appendLine("""| ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______""")
|
||||
|
Loading…
Reference in New Issue
Block a user