Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[fix] Fix failing `unfinished color` test

  • Loading branch information...
commit 0f96b58731b316e46e79d89e14e11f285df60657 1 parent e073715
authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  lib/ansiparse.js
3  lib/ansiparse.js
@@ -121,7 +121,8 @@ ansiparse = function (str) {
121 121
   }
122 122
 
123 123
   if (matchingText) {
124  
-    result.push({ text: matchingText });
  124
+    state.text = matchingText;
  125
+    result.push(state);
125 126
   }
126 127
   return result;
127 128
 }

0 notes on commit 0f96b58

Please sign in to comment.
Something went wrong with that request. Please try again.