Add non-standard terminfo capabilities

Advertises support for truecolor and styled underlines.
The truecolor properties are used by at least tmux and neovim.
This commit is contained in:
Kovid Goyal
2018-02-08 10:26:13 +05:30
parent 77d46630d7
commit 2ab6f57159
5 changed files with 19 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ with open('terminfo/kitty.terminfo', 'w') as f:
f.write(generate_terminfo())
os.environ['TERMINFO'] = os.path.join(base, 'terminfo')
subprocess.check_call(['tic', 'terminfo/kitty.terminfo'])
subprocess.check_call(['tic', '-x', 'terminfo/kitty.terminfo'])
# On OS X tic puts the compiled database into a different directory
try:
os.mkdir('terminfo/78')