...
This commit is contained in:
parent
cca33a5550
commit
63d228f21b
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ def fork_child(cmd, cwd, opts):
|
|||
os.close(os.open(os.ttyname(1), os.O_RDWR))
|
||||
os.environ['TERM'] = opts.term
|
||||
os.environ['COLORTERM'] = 'truecolor'
|
||||
os.environ['TERMINFO'] = terminfo_dir
|
||||
if os.path.isdir(terminfo_dir):
|
||||
os.environ['TERMINFO'] = terminfo_dir
|
||||
os.execvp(argv[0], argv)
|
||||
else:
|
||||
os.close(slave)
|
||||
|
|
|
|||
Loading…
Reference in a new issue