mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-01 08:39:31 +01:00
Add ANSI reset after a console message
This commit is contained in:
parent
9e7f043c4e
commit
8e8e2b3dbf
@ -55,7 +55,7 @@ public class ConsoleMessage {
|
|||||||
|
|
||||||
public String asAnsi() {
|
public String asAnsi() {
|
||||||
Component component = builder.build();
|
Component component = builder.build();
|
||||||
return discordSRV.componentFactory().ansiSerializer().serialize(component);
|
return discordSRV.componentFactory().ansiSerializer().serialize(component) + (ANSI_ESCAPE + "[0m");
|
||||||
}
|
}
|
||||||
|
|
||||||
public String asPlain() {
|
public String asPlain() {
|
||||||
|
Loading…
Reference in New Issue
Block a user