update term color

This commit is contained in:
2026-02-08 15:56:35 +08:00
parent 052ac6612b
commit 5d90b0af30
2 changed files with 6 additions and 7 deletions

View File

@@ -256,12 +256,12 @@
},
"term-color.ts": {
"script_name": "term-color.ts",
"script_length": 2040,
"script_sha256": "19bfc6d98fd3e6eee305b30a89904d4c5d8961bc203e84e0ce00c35485372d26",
"script_length": 1988,
"script_sha256": "bc1b6b8b8454cf4908005a1266ea8a8a8222feaf346846f52901ddfdb46593dc",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/term-color.ts",
"single_script_file": true,
"publish_time": 1770533214194,
"update_time": 1770537359527
"update_time": 1770537390996
},
"tree.ts": {
"script_name": "tree.ts",

View File

@@ -1,7 +1,6 @@
#!/usr/bin/env runts -- --allow-import --allow-net
import { term } from "https://script.hatter.ink/@33/deno-commons-mod.ts";
import { fetchDataWithTimeout } from "../libraries/deno-commons-mod.ts";
import {fetchDataWithTimeout, term,} from "https://script.hatter.ink/@33/deno-commons-mod.ts";
function printColors(colors: string[], prefix: string, suffix: string) {
const termOutputs: string[] = [];
@@ -62,5 +61,5 @@ async function main() {
}
await main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T155509+08:00.MEUCIEkRx6ftytYOS1NOOi/C
// 5k1uznr7juyMmOMq/11nkyWIAiEA8tGnRCDfOyaQriwMSjxfO4tTm2xfxbcUbvJfmy/HAso=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T155627+08:00.MEUCIQCNvK8MGUysW3ViadvM
// cPl3F2YdRX11n4/JSx1tGTKN6QIgQpqebkvgs09wnyjuz3OvhOq3emYvAomjhoSxPGShzCw=