Remove param noAnsi in appendAnsi

This commit is contained in:
Karlatemp 2020-11-28 21:04:38 +08:00
parent 6c2a4081ac
commit f4ebf5a7ba
No known key found for this signature in database
GPG Key ID: 21FBDDF664FF06F8

View File

@ -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)
}