mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-31 11:50:09 +08:00
bigger swing frame
This commit is contained in:
parent
5ebee874c8
commit
ab0cf04e15
@ -385,6 +385,7 @@ object MiraiConsoleUI {
|
|||||||
addCommandChar('/')
|
addCommandChar('/')
|
||||||
}
|
}
|
||||||
textGraphics.foregroundColor = TextColor.ANSI.BLUE
|
textGraphics.foregroundColor = TextColor.ANSI.BLUE
|
||||||
|
textGraphics.backgroundColor = TextColor.ANSI.BLACK
|
||||||
val height = terminal.terminalSize.rows
|
val height = terminal.terminalSize.rows
|
||||||
commandBuilder.append(c)
|
commandBuilder.append(c)
|
||||||
if (terminal is SwingTerminalFrame) {
|
if (terminal is SwingTerminalFrame) {
|
||||||
@ -392,6 +393,7 @@ object MiraiConsoleUI {
|
|||||||
} else {
|
} else {
|
||||||
textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString())
|
textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString())
|
||||||
}
|
}
|
||||||
|
textGraphics.backgroundColor = TextColor.ANSI.DEFAULT
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun deleteCommandChar() {
|
private fun deleteCommandChar() {
|
||||||
|
Loading…
Reference in New Issue
Block a user