Commit 60a4ab36 authored by Him188's avatar Him188

Merge remote-tracking branch 'origin/master'

parents 606879cb 8af8da6a
...@@ -384,7 +384,8 @@ object MiraiConsoleUI { ...@@ -384,7 +384,8 @@ object MiraiConsoleUI {
if (commandBuilder.isEmpty() && c != '/') { if (commandBuilder.isEmpty() && c != '/') {
addCommandChar('/') addCommandChar('/')
} }
textGraphics.foregroundColor = TextColor.ANSI.BLUE textGraphics.foregroundColor = TextColor.ANSI.WHITE
textGraphics.backgroundColor = TextColor.ANSI.BLACK
val height = terminal.terminalSize.rows val height = terminal.terminalSize.rows
commandBuilder.append(c) commandBuilder.append(c)
if (terminal is SwingTerminalFrame) { if (terminal is SwingTerminalFrame) {
...@@ -392,6 +393,7 @@ object MiraiConsoleUI { ...@@ -392,6 +393,7 @@ object MiraiConsoleUI {
} else { } else {
textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString()) textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString())
} }
textGraphics.backgroundColor = TextColor.ANSI.DEFAULT
} }
private fun deleteCommandChar() { 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