python313Packages.traits: fix build (#373698)
[NixPkgs.git] / pkgs / applications / terminal-emulators / kitty / zsh-compinit.patch
blob168f80cb6733607b762d5c32dfd9ef0e73255d92
1 diff --git a/kitty_tests/ssh.py b/kitty_tests/ssh.py
2 index 1f424146..d9a65d25 100644
3 --- a/kitty_tests/ssh.py
4 +++ b/kitty_tests/ssh.py
5 @@ -268,6 +268,8 @@ def check_untar_or_fail():
6 return 'UNTAR_DONE' in q
7 pty.wait_till(check_untar_or_fail)
8 self.assertTrue(os.path.exists(os.path.join(home_dir, '.terminfo/kitty.terminfo')))
9 + if login_shell == 'zsh':
10 + pty.send_cmd_to_child('y')
11 if SHELL_INTEGRATION_VALUE != 'enabled':
12 pty.wait_till(lambda: len(pty.screen_contents().splitlines()) > 1)
13 self.assertEqual(pty.screen.cursor.shape, 0)