bigger swing frame

This commit is contained in:
jiahua.liu 2020-02-15 23:30:09 +08:00
parent 5ebee874c8
commit ab0cf04e15

View File

@ -385,6 +385,7 @@ object MiraiConsoleUI {
addCommandChar('/')
}
textGraphics.foregroundColor = TextColor.ANSI.BLUE
textGraphics.backgroundColor = TextColor.ANSI.BLACK
val height = terminal.terminalSize.rows
commandBuilder.append(c)
if (terminal is SwingTerminalFrame) {
@ -392,6 +393,7 @@ object MiraiConsoleUI {
} else {
textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString())
}
textGraphics.backgroundColor = TextColor.ANSI.DEFAULT
}
private fun deleteCommandChar() {