allow_remote_control should be per window not per child

This commit is contained in:
Kovid Goyal
2022-08-15 21:32:14 +05:30
parent 1619687d1d
commit 814dd8a275
3 changed files with 5 additions and 7 deletions

View File

@@ -223,10 +223,8 @@ class Child:
stdin: Optional[bytes] = None,
env: Optional[Dict[str, str]] = None,
cwd_from: Optional['CwdRequest'] = None,
allow_remote_control: bool = False,
is_clone_launch: str = '',
):
self.allow_remote_control = allow_remote_control
self.is_clone_launch = is_clone_launch
self.argv = list(argv)
if cwd_from: