diff --git a/src/main.js b/src/main.js index acdc39b..a3ebf88 100644 --- a/src/main.js +++ b/src/main.js @@ -171,6 +171,7 @@ const wrap = (input, options) => { const splitAnsiInput = (text) => { // get start and end positions for matches + let result = null; let matches = [] let textArr = [...text] let textLength = textArr.length