From 32a14e4e28c53f0f21455113c6bbfbbf48ea318b Mon Sep 17 00:00:00 2001 From: "jiahua.liu" Date: Sun, 16 Feb 2020 00:40:10 +0800 Subject: [PATCH] bigger swing frame --- .../src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mirai-console/src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt b/mirai-console/src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt index c8f61b743..cceb89c87 100644 --- a/mirai-console/src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt +++ b/mirai-console/src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt @@ -382,11 +382,13 @@ object MiraiConsoleUI { textGraphics.foregroundColor = TextColor.ANSI.DEFAULT textGraphics.putString(2, 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()) if (terminal is SwingTerminalFrame) { terminal.flush() } + textGraphics.backgroundColor = TextColor.ANSI.DEFAULT } private fun addCommandChar(