diff options
| author | Xin LI <delphij@FreeBSD.org> | 2026-10-12 07:51:43 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2026-10-12 07:51:43 +0000 |
| commit | 3ceb5f150bc121f5e6a3e0cc8b289279338405a1 (patch) | |
| tree | ac8377ad0b03a01e8649a40db1eb7739ac37869a /sys/dev/pcf/(public-mirror) | |
| parent | 8f93ad70078a88710d34b371a4076191cfebc4f6 (diff) | |
The entry was imported from the termcap source that Ghostty generates
with infotocap during its build. To fit within 1023 bytes, the
conversion dropped a number of capabilities, most notably all color
support, so termcap consumers such as ls -G and ncurses applications
treated Ghostty as a monochrome terminal.
Split the entry into xterm-ghostty and a ghostty+common fragment, and
restore the following from Ghostty's terminfo definition:
- colors: Co, pa, AF, AB, op, oc, ut, AX
- keys: End, keypad Enter, F10-F12, back tab, mouse prefix
- attributes: italics (ZH/ZR), invisible (mk), acsc map (ac)
- misc: cb, ch, cv, SA/RA, r1, bs, NP, 5i
AF and AB use the plain 256-color form, like xterm-256color, because
termcap cannot express the conditional used by the terminfo entry.
Fixes: 804f961c5cdd ("share/termcap: add xterm-ghostty entry")
MFC after: 1 week
Diffstat (limited to 'sys/dev/pcf/(public-mirror)')
0 files changed, 0 insertions, 0 deletions
