Skip to content

Commit b924d02

Browse files
committed
site: fix ansi coloring for dim
1 parent 006eabb commit b924d02

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@
464464
.ansi-33 {
465465
color: rgb(193, 156, 0);
466466
}
467-
.ansi-90 {
467+
.ansi-2, .ansi-90 {
468468
color: rgb(118, 118, 118);
469469
}
470470

@@ -1167,7 +1167,7 @@ <h2 class="gui-header">Playground</h2>
11671167

11681168
jsSize.textContent = `${new Blob([code]).size} bytes`;
11691169

1170-
const ansi = x => x.replaceAll('\x1B[0m', '</span>').replace(/\x1B\[([0-9]{2})m/g, (_, esc) => `<span class='ansi-${esc}'>`);
1170+
const ansi = x => x.replaceAll('\x1B[0m', '</span>').replace(/\x1B\[([0-9]{1,2})m/g, (_, esc) => `<span class='ansi-${esc}'>`);
11711171

11721172
let cache = '';
11731173
const print = (str) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "porffor",
33
"description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4-
"version": "0.55.15",
4+
"version": "0.55.16",
55
"author": "CanadaHonk",
66
"license": "MIT",
77
"scripts": {},

runner/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
import fs from 'node:fs';
3-
globalThis.version = '0.55.15';
3+
globalThis.version = '0.55.16';
44

55
// deno compat
66
if (typeof process === 'undefined' && typeof Deno !== 'undefined') {

test262/history.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)