mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Remove param noAnsi
in appendAnsi
This commit is contained in:
parent
6c2a4081ac
commit
f4ebf5a7ba
@ -146,9 +146,8 @@ public open class AnsiMessageBuilder public constructor(
|
||||
* 往 [StringBuilder] 追加 ansi 控制符
|
||||
*/
|
||||
public inline fun StringBuilder.appendAnsi(
|
||||
noAnsi: Boolean = false,
|
||||
action: AnsiMessageBuilder.() -> Unit
|
||||
): AnsiMessageBuilder = from(this, noAnsi).apply(action)
|
||||
): AnsiMessageBuilder = from(this).apply(action)
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user