1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-26 03:27:23 +03:00
tabby/tabby-terminal/patches/ansi-color+0.2.1.patch
Eugene 1e5cfd1d4b
bootstrap 5 WIP (#7891)
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
2023-02-26 20:42:31 +01:00

16 lines
636 B
Diff

diff --git a/node_modules/ansi-color/lib/ansi-color.js b/node_modules/ansi-color/lib/ansi-color.js
index 1062c87..4fc2847 100644
--- a/node_modules/ansi-color/lib/ansi-color.js
+++ b/node_modules/ansi-color/lib/ansi-color.js
@@ -32,8 +32,8 @@ exports.set = function(str, color) {
var color_attrs = color.split("+");
var ansi_str = "";
for(var i=0, attr; attr = color_attrs[i]; i++) {
- ansi_str += "\033[" + ANSI_CODES[attr] + "m";
+ ansi_str += "\x1b[" + ANSI_CODES[attr] + "m";
}
- ansi_str += str + "\033[" + ANSI_CODES["off"] + "m";
+ ansi_str += str + "\x1b[" + ANSI_CODES["off"] + "m";
return ansi_str;
};