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;
|
||||
|
||||
Reference in New Issue
Block a user