mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-09-01 23:01:59 +00:00
Fix use-python not working reliably with SSH kitten
This commit is contained in:
parent
53589c3954
commit
2fd8ef389e
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ with NamedTemporaryFile() as tmp:
|
|||
if os.path.exists('/usr/share/misc/terminfo.cdb'):
|
||||
tname += '.cdb'
|
||||
tmp.write(binascii.unhexlify('{terminfo}'))
|
||||
tmp.flush()
|
||||
p = subprocess.Popen(['tic', '-x', '-o', os.path.expanduser('~/' + tname), tmp.name], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
stdout, stderr = p.communicate()
|
||||
if p.wait() != 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue