Feature: expose terminal line height as a term:lineheight setting
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- javascript
- Lĩnh vực
- cli
Hướng nghiên cứu
Start by locating how the existing term:fontsize and term:fontfamily settings are handled, then trace where xterm.js ITerminalOptions are configured. Add the term:lineheight default and pass-through, including block metadata if supported by the existing settings path. Done means a 1.0 default and an override that changes terminal line spacing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Wave exposes term:fontsize and term:fontfamily, but there is currently no way to adjust terminal line height / line spacing. Increasing the font size is the only vertical-spacing lever today, and it enlarges the glyphs too. Please expose xterm.js's lineHeight option as a term:lineheight config key.
Motivation
- Terminals like WezTerm, kitty, and iTerm2 all offer a line-height multiplier; it's a common readability knob.
- With serif / slab-serif monospace fonts (e.g. Monaspace Xenon, Courier Prime), the default leading can feel cramped. A ~1.1–1.3 multiplier dramatically improves readability without enlarging the characters.
- xterm.js already supports
ITerminalOptions.lineHeight(a multiplier of the cell height), so this should be a thin pass-through rather than new rendering work.
Proposed
- Add
term:lineheight(float, default1.0) alongside the existingterm:*settings, plumbed straight to the xterm.jslineHeightoption. - Ideally also honor it as block metadata so an individual terminal block can override the global value (useful for status/monitor blocks vs. working terminals).
Related
- #83 "Customise font settings" (closed) touched font customization generally but not line height specifically.
Thanks — the config surface is otherwise excellent; this is the main typographic-comfort gap versus other terminals.
- Ngôn ngữ chính
- Go
- Star
- 22.3k
- Fork
- 1.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của wavetermdev/waveterm
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
wavetermdev/waveterm#3481 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
wavetermdev/waveterm#3435 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
wavetermdev/waveterm#3432 ·
-
enhancement triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
wavetermdev/waveterm#3431 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
wavetermdev/waveterm#3428 ·
Tất cả issue của wavetermdev/waveterm
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
crossplane/crossplane#7859 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
bazel-contrib/rules_go#4721 · 2 bình luận ·
-
needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
bug carvel-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
carvel-dev/kapp-controller#1861 ·
-
area/logging kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100