Commit 32a14e4e authored by jiahua.liu's avatar jiahua.liu

bigger swing frame

parent d92b9fda
...@@ -382,11 +382,13 @@ object MiraiConsoleUI { ...@@ -382,11 +382,13 @@ object MiraiConsoleUI {
textGraphics.foregroundColor = TextColor.ANSI.DEFAULT textGraphics.foregroundColor = TextColor.ANSI.DEFAULT
textGraphics.putString(2, height - 3, "|>>>") textGraphics.putString(2, height - 3, "|>>>")
textGraphics.putString(width - 3, height - 3, "|") textGraphics.putString(width - 3, height - 3, "|")
textGraphics.foregroundColor = TextColor.ANSI.BLUE textGraphics.foregroundColor = TextColor.ANSI.WHITE
textGraphics.backgroundColor = TextColor.ANSI.BLACK
textGraphics.putString(7, height - 3, commandBuilder.toString()) textGraphics.putString(7, height - 3, commandBuilder.toString())
if (terminal is SwingTerminalFrame) { if (terminal is SwingTerminalFrame) {
terminal.flush() terminal.flush()
} }
textGraphics.backgroundColor = TextColor.ANSI.DEFAULT
} }
private fun addCommandChar( private fun addCommandChar(
......
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