bigger swing frame

This commit is contained in:
jiahua.liu 2020-02-16 00:40:10 +08:00
parent d92b9fdae4
commit 32a14e4e28

View File

@ -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(