Commit ab0cf04e authored by jiahua.liu's avatar jiahua.liu

bigger swing frame

parent 5ebee874
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment