mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
scripts: generate-builtin-terminfo: add synthetic ‘name’ capability
Same as ‘TN’; reports the terminfo name.
This commit is contained in:
parent
bb02b319d0
commit
88c3128515
2 changed files with 2 additions and 0 deletions
|
|
@ -48,6 +48,7 @@
|
|||
* Support for adjusting the thickness of regular underlines ([#1136][1136]).
|
||||
* Support (optional) for utmp logging with libutempter.
|
||||
* `kxIN` and `kxOUT` (focus in/out events) to terminfo.
|
||||
* `name` capability to `XTGETTCAP`.
|
||||
|
||||
[1136]: https://codeberg.org/dnkl/foot/issues/1136
|
||||
|
||||
|
|
|
|||
|
|
@ -166,6 +166,7 @@ def main():
|
|||
|
||||
entry.add_capability(IntCapability('Co', 256))
|
||||
entry.add_capability(StringCapability('TN', target_entry_name))
|
||||
entry.add_capability(StringCapability('name', target_entry_name))
|
||||
entry.add_capability(IntCapability('RGB', 8)) # 8 bits per channel
|
||||
|
||||
terminfo_parts = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue