From cba7ad76098f55f2086f5fd357c438963c7f90ba Mon Sep 17 00:00:00 2001 From: MeexReay Date: Fri, 21 Mar 2025 23:17:51 +0300 Subject: [PATCH] fix var colors --- sys/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/terminal.js b/sys/terminal.js index 37f4d33..25a5e0b 100644 --- a/sys/terminal.js +++ b/sys/terminal.js @@ -108,7 +108,7 @@ function makeColorCodesPrintable(input) { function convertColorCodes(input) { return input.replace(/\$#([0-9a-fA-F]{6})/g, '') .replace(/\$##([0-9a-fA-F]{6})/g, '$$#$1') - .replace(/\$([A-Z_]+)--/g, '') + .replace(/\$([A-Z_]+)--/g, '') .replace(/\$#([A-Z_]+)--/g, '$$$1--') .replace(/\$reset/g, '') .replace(/\$#reset/g, '$$reset');