Skip to content

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

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

m1ngsama wants to merge 4 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 2a75b1a in a real pseudoterminal: startup animation, tabs, capability fallbacks (ASCII, NO_COLOR, pipes), sizes from 24×10 to 140×40, width calculation, redraw, and escape-sequence sanitizing. Four problems found during testing are filed as nbtca/Prompt#93, nbtca/Prompt#94, nbtca/Prompt#95, and nbtca/Prompt#96.

All Prompt screenshots are captured from the running program; historical images are public domain or used under CC BY / CC BY-SA with attribution. The cover is a text-free image. 29 body images and the cover total 1.0 MiB of WebP. No new dependencies.

Validation: pnpm run build; production preview at 1440 and 390 px wide with no overflow, broken images, or JavaScript errors.

@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: 0d26a47
Status: ✅  Deploy successful!
Preview URL: https://26a368ee.fuji-2ku.pages.dev
Branch Preview URL: https://docs-ascii-art-tui-research.fuji-2ku.pages.dev

View logs

The theme plugin replaced the pre element's class list, so code blocks that follow a paragraph lost astro-code styling and inherited body line height. Merge Shiki's class string and set a 1.35 line height.

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