gitea push
This commit is contained in:
+4
-1
@@ -169,9 +169,12 @@ const exec = (string, columns, options = {}) => {
|
||||
returnValue += character;
|
||||
if (!inSurrogate) {
|
||||
inSurrogate = character >= '\ud800' && character <= '\udbff';
|
||||
if (inSurrogate) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
else {
|
||||
continue;
|
||||
inSurrogate = false;
|
||||
}
|
||||
if (character === ESC || character === CSI) {
|
||||
GROUP_REGEX.lastIndex = i + 1;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "fast-wrap-ansi",
|
||||
"version": "0.1.6",
|
||||
"version": "0.2.0",
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
@@ -46,6 +46,6 @@
|
||||
"wrap-ansi": "^9.0.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"fast-string-width": "^1.1.0"
|
||||
"fast-string-width": "^3.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user