mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
scripts: generate-builtin-terminfo: add custom capability ‘Co’
This is a “special feature”, similar to “TN” and “RGB”: Co for termcap colors (or colors for terminfo colors)
This commit is contained in:
parent
3fa6bec912
commit
7feab6092c
1 changed files with 2 additions and 1 deletions
|
|
@ -152,8 +152,9 @@ def main():
|
|||
except KeyError:
|
||||
pass
|
||||
|
||||
entry.add_capability(IntCapability('RGB', 8)) # 8 bits per channel
|
||||
entry.add_capability(IntCapability('Co', 256))
|
||||
entry.add_capability(StringCapability('TN', target_entry_name))
|
||||
entry.add_capability(IntCapability('RGB', 8)) # 8 bits per channel
|
||||
|
||||
target.write('#pragma once\n')
|
||||
target.write('\n')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue