mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-04 19:57:20 +02:00
Revert "Fix word wrap crash reported by user when pipe codes are in play"
This reverts commit 0a486d290f
.
This commit is contained in:
parent
1261af00c3
commit
aecc24079f
2 changed files with 5 additions and 14 deletions
|
@ -49,7 +49,7 @@ function wordWrapText(text, options) {
|
|||
|
||||
function appendWord() {
|
||||
word.match(REGEXP_GOBBLE).forEach( w => {
|
||||
renderLen = renderStringLength(w, { ansi : true, pipe : false } );
|
||||
renderLen = renderStringLength(w);
|
||||
|
||||
if(result.renderLen[i] + renderLen > options.width) {
|
||||
if(0 === i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue