This commit is contained in:
2026-02-08 14:51:48 +08:00
parent 3cfce3ef87
commit 8e59679f17
2 changed files with 7 additions and 7 deletions

View File

@@ -256,12 +256,12 @@
}, },
"term-color.ts": { "term-color.ts": {
"script_name": "term-color.ts", "script_name": "term-color.ts",
"script_length": 1380, "script_length": 1456,
"script_sha256": "3ece88b65555499245a670b03002a3edd5d957f88151863bea0d829a75f92cb9", "script_sha256": "ab27f067d4289e80e66ac248aa665a6cf7daee0a1c3305a6f8fa3310561d6073",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/term-color.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/term-color.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1770533214194, "publish_time": 1770533214194,
"update_time": 1770533366713 "update_time": 1770533506887
}, },
"tree.ts": { "tree.ts": {
"script_name": "tree.ts", "script_name": "tree.ts",

View File

@@ -35,16 +35,16 @@ async function main() {
console.log(); console.log();
console.log( console.log(
term.auto( term.auto(
"[bg_black][white][bold]Bold, white and black background [/][/][/]", "[bg_black][white][bold][[[[bg_black][white][bold]Bold, white and black background [/][/][/]]]][/][/][/]",
), ),
); );
console.log( console.log(
term.auto( term.auto(
"[black][bg_white][bold]Bold, black and white background [/][/][/]", "[black][bg_white][bold][[[[black][bg_white][bold]Bold, black and white background [/][/][/]]]][/][/][/]",
), ),
); );
} }
await main(); await main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T144919+08:00.MEYCIQCSlSgTG6QYjn33Q5EH // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T145142+08:00.MEUCIEk9mPBqcyKRIOymv3+v
// mGh2Fgzhn6QZVFCSKSJYcJrvxwIhAJeu9a64omxuy3aSMLggr7aWnTpDNNWq1dIM8qvjFNQ9 // dGH7SuuTE4RuUg966B2noRjUAiEAgpQ3vd8PN23J6XUTgPbGtdiNHXSqtJyvDOev3LxuNcQ=