From 7a190040fb4d4b8bf4ee20a2dd217bf0b0b728da Mon Sep 17 00:00:00 2001 From: "prompt.ac/@jeffrey" Date: Sun, 31 May 2026 12:35:46 -0700 Subject: [PATCH] laklok: docs/autocomplete entry + floor-align .com HUD superscript - docs.js: add laklok entry (feeds prompt autocomplete + docs); note laer-klokken as its alias. - disk.mjs: floor-align the custom HUD superscript (e.g. .com) with the label baseline instead of top-aligning. Affects all .com pieces (notepat too) since the renderer is shared. Co-Authored-By: Claude Opus 4.8 (1M context) --- system/netlify/functions/docs.js | 7 ++++++- system/public/aesthetic.computer/lib/disk.mjs | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/system/netlify/functions/docs.js b/system/netlify/functions/docs.js index 0cbf881e8b..253405ede5 100644 --- a/system/netlify/functions/docs.js +++ b/system/netlify/functions/docs.js @@ -4112,7 +4112,12 @@ void draw() { }, 'laer-klokken': { sig: "laer-klokken", - desc: "Learn the 'clock'!", + desc: "Learn the 'clock'! (alias of laklok)", + done: false + }, + laklok: { + sig: "laklok", + desc: "Learn the 'clock'! (laklok.com)", done: false }, "legacy-prompt": { diff --git a/system/public/aesthetic.computer/lib/disk.mjs b/system/public/aesthetic.computer/lib/disk.mjs index ca99d9f19d..ab88899c41 100644 --- a/system/public/aesthetic.computer/lib/disk.mjs +++ b/system/public/aesthetic.computer/lib/disk.mjs @@ -14635,7 +14635,10 @@ async function makeFrame({ data: { type, content } }) { ); const superscriptX = hudTextX + firstLineWidth + 2; - const superscriptY = 0; // Baseline-aligned with the HUD label + // Floor-align the small superscript (e.g. ".com", 8px tall via + // MatrixChunky8) with the bottom of the label glyphs, so it sits + // on the same floor as the corner word instead of riding up top. + const superscriptY = Math.max(0, (currentHUDLabelBlockHeight || 10) - 8); // Special handling for ".com" - color the "." based on connection status if (currentHUDSuperscript === ".com") { -- 2.51.2