mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 18:02:27 +08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
60a4ab3631
@ -384,7 +384,8 @@ object MiraiConsoleUI {
|
||||
if (commandBuilder.isEmpty() && c != '/') {
|
||||
addCommandChar('/')
|
||||
}
|
||||
textGraphics.foregroundColor = TextColor.ANSI.BLUE
|
||||
textGraphics.foregroundColor = TextColor.ANSI.WHITE
|
||||
textGraphics.backgroundColor = TextColor.ANSI.BLACK
|
||||
val height = terminal.terminalSize.rows
|
||||
commandBuilder.append(c)
|
||||
if (terminal is SwingTerminalFrame) {
|
||||
@ -392,6 +393,7 @@ object MiraiConsoleUI {
|
||||
} else {
|
||||
textGraphics.putString(6 + commandBuilder.length, height - 3, c.toString())
|
||||
}
|
||||
textGraphics.backgroundColor = TextColor.ANSI.DEFAULT
|
||||
}
|
||||
|
||||
private fun deleteCommandChar() {
|
||||
|
Loading…
Reference in New Issue
Block a user