Block shift out in chat parser
This commit is contained in:
parent
cb064f9541
commit
40e755acbd
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ const parse=function(_data, l = 0, resetColor = [consoleColors.reset]){
|
|||
out[0]+=resetColor[0];
|
||||
out[2]+=resetColor[1];
|
||||
}
|
||||
out[0]+=_text.replace(/\u001b/g,""); //Remove escape codes from console format
|
||||
out[0]+=_text.replace(/\u001b/g,"").replace(/\u000F/g,""); //Remove escape codes and [SO] from console format
|
||||
out[1]+=_text;
|
||||
out[2]+=_text;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue