瀏覽代碼

bigger swing frame

jiahua.liu 6 年之前
父節點
當前提交
32a14e4e28
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      mirai-console/src/main/kotlin/net/mamoe/mirai/MiraiConsoleUI.kt

+ 3 - 1
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(