terminal-mushroom 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-mushroom",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A pixel mushroom that sends you on a break while Claude Code or Codex works.",
5
5
  "bin": {
6
6
  "terminal-mushroom": "terminal-mushroom.js"
@@ -83,8 +83,9 @@ function colorArt() {
83
83
  const px = (row) => (row?.[x] === "a" ? "." : row?.[x] ?? ".");
84
84
  const t = px(PIXELS[y]), b = px(PIXELS[y + 1]);
85
85
  if (t === "." && b === ".") { set(fg, null); line += " "; }
86
- // A full block, not a coloured space: Codex drops the background of some space runs.
87
- else if (t === b) { set(t, bg); line += "█"; }
86
+ // Both colours on a full block. Codex drops the background of some space runs, and
87
+ // Terminal.app's block glyphs leave a seam that shows whatever background is set.
88
+ else if (t === b) { set(t, t); line += "█"; }
88
89
  else if (t === ".") { set(b, null); line += "▄"; }
89
90
  else if (b === ".") { set(t, null); line += "▀"; }
90
91
  else { set(t, b); line += "▀"; }