Replace the "78" terminfo directory with a symlink

This commit is contained in:
Luflosi 2019-03-02 02:55:41 +01:00
parent 719a9a5b64
commit 4767d2b8d6
No known key found for this signature in database
GPG Key ID: 14140F703B7D8362
3 changed files with 1 additions and 6 deletions

View File

@ -16,9 +16,3 @@ with open('terminfo/kitty.terminfo', 'w') as f:
os.environ['TERMINFO'] = os.path.join(base, 'terminfo')
subprocess.check_call(['tic', '-x', 'terminfo/kitty.terminfo'])
# On macOS tic puts the compiled database into a different directory
try:
os.mkdir('terminfo/78')
except FileExistsError:
pass
shutil.copy2('terminfo/x/xterm-kitty', 'terminfo/78')

1
terminfo/78 Symbolic link
View File

@ -0,0 +1 @@
x

Binary file not shown.