mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Move parsing of colors fully into C
Uses a perfect hash function for color name lookup
This commit is contained in:
@@ -34,6 +34,9 @@ def main(args: list[str]=sys.argv) -> None:
|
||||
elif which == 'cursors':
|
||||
from gen.cursors import main
|
||||
main(args)
|
||||
elif which == 'color-names':
|
||||
from gen.color_names import main
|
||||
main(args)
|
||||
else:
|
||||
raise SystemExit(f'Unknown which: {which}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user