This commit is contained in:
2026-02-08 15:47:10 +08:00
parent fa361f0809
commit 4428a5e3fc
3 changed files with 34 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env runts -- --allow-import
import {term} from "https://script.hatter.ink/@32/deno-commons-mod.ts";
import {term} from "https://script.hatter.ink/@33/deno-commons-mod.ts";
function printColors(colors: string[], prefix: string, suffix: string) {
const termOutputs: string[] = [];
@@ -35,16 +35,16 @@ async function main() {
console.log();
console.log(
term.auto(
"[bg_black][white][bold][[[[bg_black][white][bold]Bold, white and black background [/][/][/]]]][/][/][/]",
"[bg_black][white][bold][[[[bg_black][white][bold]Bold, white and black background [/][/][/]]]][/][/][/] plaintext",
),
);
console.log(
term.auto(
"[black][bg_white][bold][[[[black][bg_white][bold]Bold, black and white background [/][/][/]]]][/][/][/]",
"[black][bg_white][bold][[[[black][bg_white][bold]Bold, black and white background [///]]]][///] plaintext",
),
);
}
await main();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T145142+08:00.MEUCIEk9mPBqcyKRIOymv3+v
// dGH7SuuTE4RuUg966B2noRjUAiEAgpQ3vd8PN23J6XUTgPbGtdiNHXSqtJyvDOev3LxuNcQ=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260208T154653+08:00.MEUCIQCt2qj/3lPKwhX8n5ID
// jvkItXyST6mG1/j3fcUHybaePQIgAM4ErXInKntZU3DvmuX8szEFXIcFN1W3+zYLzPuYywk=