mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
ssh kitten: Fix non-standard properties in terminfo such as the ones used for true color not being copied
This commit is contained in:
@@ -211,7 +211,7 @@ def main(args: List[str]) -> NoReturn:
|
||||
else:
|
||||
hostname, remote_args = server_args[0], server_args[1:]
|
||||
cmd += ['-t', hostname]
|
||||
terminfo = subprocess.check_output(['infocmp']).decode('utf-8')
|
||||
terminfo = subprocess.check_output(['infocmp', '-a']).decode('utf-8')
|
||||
f = get_posix_cmd if use_posix else get_python_cmd
|
||||
cmd += f(terminfo, remote_args)
|
||||
os.execvp('ssh', cmd)
|
||||
|
||||
Reference in New Issue
Block a user