]> acesimba.cloud Git - codebuddy-web.git/commit
fix(terminal): xterm lineHeight 1.0 导致字形顶部被裁切
authorCodebuddy <codebuddy@localhost>
Thu, 13 Aug 2026 05:30:20 +0000 (13:30 +0800)
committerCodebuddy <codebuddy@localhost>
Thu, 13 Aug 2026 05:30:20 +0000 (13:30 +0800)
commitae44ad894a92152e524dee5d94624e56346b5c54
tree4675a4804647c32768baa14a656755247a6d4959
parent0d09626b35105dff42c8974d09f41ec594f4c027
fix(terminal): xterm lineHeight 1.0 导致字形顶部被裁切

- new Terminal 选项补充 lineHeight: 1.3(原未设置,默认 1.0)
- 单元格高度由 20px 增至约 26px,中文等字形顶部不再被裁
- 仅前端改动,刷新浏览器即生效,保留 body 滚动锁定
frontend/index.html