Fix #8262
This commit is contained in:
parent
1f33677c1a
commit
4f0f9b9aff
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def run_shell(self, shell='zsh', rc='', cmd='', setup_env=None):
|
|||
try:
|
||||
if self.with_kitten:
|
||||
cmd = [kitten_exe(), 'run-shell', '--shell', shlex.join(cmd)]
|
||||
pty = self.create_pty(cmd, cwd=home_dir, env=env)
|
||||
pty = self.create_pty(cmd, cwd=home_dir, env=env, cols=180)
|
||||
i = 10
|
||||
while i > 0 and not pty.screen_contents().strip():
|
||||
pty.process_input_from_child()
|
||||
|
|
|
|||
Loading…
Reference in a new issue