wrap-ansi
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -182,2 +182,3 @@ 'use strict'; | ||
.normalize() | ||
.replace(/\r\n/g, '\n') | ||
.split('\n') | ||
@@ -184,0 +185,0 @@ .map(line => exec(line, columns, options)) |
{ | ||
"name": "wrap-ansi", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Wordwrap a string with ANSI escape codes", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -38,3 +38,3 @@ # wrap-ansi [![Build Status](https://travis-ci.org/chalk/wrap-ansi.svg?branch=master)](https://travis-ci.org/chalk/wrap-ansi) [![Coverage Status](https://coveralls.io/repos/github/chalk/wrap-ansi/badge.svg?branch=master)](https://coveralls.io/github/chalk/wrap-ansi?branch=master) | ||
String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk). | ||
String with ANSI escape codes. Like one styled by [`chalk`](https://github.com/chalk/chalk). Newline characters will be normalized to `\n`. | ||
@@ -41,0 +41,0 @@ #### columns |
9500
147