Merge branch 'test-ksi-fish' of https://github.com/page-down/kitty

This commit is contained in:
Kovid Goyal 2022-02-23 18:31:13 +05:30
commit 12e011c481
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -166,8 +166,6 @@ function _ksi_test_comp; contains "{completions_dir}" $fish_complete_path; and e
pty.send_cmd_to_child('clear') pty.send_cmd_to_child('clear')
pty.send_cmd_to_child('_ksi_test_comp') pty.send_cmd_to_child('_ksi_test_comp')
pty.wait_till(lambda: pty.screen_contents().count(right_prompt) == 2) pty.wait_till(lambda: pty.screen_contents().count(right_prompt) == 2)
# with open('/tmp/1.log', 'a') as logf:
# print(str(pty.screen_contents()), file=logf)
q = '\n'.join(str(pty.screen.line(i)) for i in range(1, pty.screen.cursor.y)) q = '\n'.join(str(pty.screen.line(i)) for i in range(1, pty.screen.cursor.y))
self.ae(q, 'ok') self.ae(q, 'ok')
self.ae(pty.last_cmd_output(), q) self.ae(pty.last_cmd_output(), q)