ansi-to-html
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -387,2 +387,18 @@ 'use strict'; | ||
}, { | ||
// CSI n J | ||
// ED - Erase in Display Clears part of the screen. | ||
// If n is 0 (or missing), clear from cursor to end of screen. | ||
// If n is 1, clear from cursor to beginning of the screen. | ||
// If n is 2, clear entire screen (and moves cursor to upper left on DOS ANSI.SYS). | ||
// If n is 3, clear entire screen and delete all lines saved in the scrollback buffer | ||
// (this feature was added for xterm and is supported by other terminal applications). | ||
pattern: /^\x1b\[\d?J/, | ||
sub: remove | ||
}, { | ||
// CSI n ; m f | ||
// HVP - Horizontal Vertical Position Same as CUP | ||
pattern: /^\x1b\[\d{0,3};\d{0,3}f/, | ||
sub: remove | ||
}, { | ||
// catch-all for CSI sequences? | ||
pattern: /^\x1b\[?[\d;]{0,3}/, | ||
@@ -389,0 +405,0 @@ sub: remove |
{ | ||
"name": "ansi-to-html", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "Convert ansi escaped text streams to html.", | ||
@@ -5,0 +5,0 @@ "main": "lib/ansi_to_html.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35650
846