Repository navigation
docs: 用 xterm.js 生成 README TUI 截图 - #30
Merged
Merged
Conversation
Amp-Thread-ID: https://ampcode.com/threads/T-01a10215-6e2e-745a-b580-d43025942731 Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
README 截图改用 xterm.js 和 Playwright 渲染,显示完整的背景块、粗体、斜体和 pim 反色编辑器光标。删除 Freeze 配置及 ANSI 样式兼容补丁,保留
just screenshot生成入口。xterm.js、Playwright 和 JetBrains Mono 字体包作为固定版本的 npm 开发依赖,由 lockfile 管理。字体从
node_modules加载,不提交字体文件,也不需要系统安装字体或访问 CDN。生成步骤记录在scripts/screenshot/README.md;默认使用 Playwright 配套 Chromium。验证:
npm ci后安装配套 Chromium,实际执行just screenshot并检查新图片。just check fmt test build通过:83 个单元测试、13 个离线 CLI 用例。npm pack --dry-run确认字体和截图工具未进入发布包。不同操作系统或 tmux 版本仍可能带来像素差异。