Skip to content

docs: publish ASCII art and TUI design research - #167

Open
m1ngsama wants to merge 19 commits into
mainfrom
docs/ascii-art-tui-research
Open

m1ngsama wants to merge 19 commits into
mainfrom
docs/ascii-art-tui-research

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Prompt needs a shared reference for terminal design, grounded in how the app actually behaves.

src/plugins/theme.ts and src/styles/global.css change code blocks site-wide: the theme plugin overwrote Shiki's class, so code blocks after a paragraph lost astro-code styling and inherited body line height (about 1.7). They now keep their gray background and use a 1.35 line height.

The article follows character art from 1898 typewriter work through Rogue, BBS, Amiga, and PTT art to modern TUIs. It then checks Prompt v1.5.23 in a real pseudoterminal: startup animation, ASCII emblems, tabs, tiered ASCII pictures, capability fallbacks (ASCII, NO_COLOR, pipes), sizes from 24×10 to 140×40, width calculation, redraw, and escape-sequence sanitizing. The four problems found in v1.5.22 (nbtca/Prompt#93 to #96) are fixed in Prompt, so the article now describes the fixes. It closes with design questions that are still open.

All Prompt screenshots are captured from the running program, except the startup animation and the piped nbtca status output, which are unchanged since v1.5.22. The ASCII emblem figure comes from nbtca/Prompt#100, which redraws the emblems and is not merged yet. Historical images are public domain or used under CC BY / CC BY-SA with attribution. The cover is a text-free image. 31 images including the cover total about 1.5 MiB, mostly WebP. No new dependencies.

Validation: pnpm run build.

@m1ngsama
m1ngsama enabled auto-merge (squash) October 24, 2026 08:13
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Deploying home with  Cloudflare Pages  Cloudflare Pages

Latest commit: b533c8a
Status: ✅  Deploy successful!
Preview URL: https://58d01041.fuji-2ku.pages.dev
Branch Preview URL: https://docs-ascii-art-tui-research.fuji-2ku.pages.dev

View logs

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant