Hi,
Some terminals (notably kitty) have the same features/etc
as say xterm-256color. Instead of extending the matching
for each terminal type, we should use the terminfo database
and query for 256 colors?
See the attached patch.
Cheers
Elrond