116 Commits

Author SHA1 Message Date
Kovid Goyal
deff40df8a New OSC 21 protocol for color control
Needs to be specced up
2024-07-22 10:57:13 +05:30
Kovid Goyal
06b5eff6e6 Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
c17d7614e1 Allow showing a more useful error message when wait_till fails 2024-05-11 08:33:47 +05:30
Kovid Goyal
ab2a4f7de6 Simplify loop used to process input from child in test pty
This might surface better errors than Timeout on the occassional test
failure.
2024-05-10 09:29:27 +05:30
Kovid Goyal
38799f3173 ... 2024-05-10 09:24:10 +05:30
Kovid Goyal
468d0c69a6 Add tests for cmdline reporting in shell integration 2024-05-09 13:46:19 +05:30
Kovid Goyal
219e53826b More efficient encoding for cmdline in the prompt marking escape code 2024-05-09 12:03:02 +05:30
Kovid Goyal
04af71696a Make processing of input from child in test pty device a bit more robust 2024-05-05 14:05:51 +05:30
Kovid Goyal
aca13a619a Retry all the ssh kitten tests on failure once 2024-03-26 19:45:20 +05:30
Kovid Goyal
e7d6101bd4 DRYer 2024-02-25 09:57:44 +05:30
Kovid Goyal
50935b6c93 Cleanup kitty dcs parsing 2024-02-25 09:57:24 +05:30
Kovid Goyal
afcffc03b1 Separate test of write and read so we can test threading 2024-02-25 09:57:24 +05:30
Kovid Goyal
c81ac668da Use a single code path for tests and live VT parsing 2024-02-25 09:57:23 +05:30
Kovid Goyal
52025ff030 misc parser and test fixes 2024-02-25 09:57:22 +05:30
Kovid Goyal
5168e0b576 Port parse_bytes() used in the tests 2024-02-25 09:57:22 +05:30
Kovid Goyal
5f809bf249 Get kitty building with the new VT parser 2024-02-25 09:57:22 +05:30
Kovid Goyal
69e3e5c727 Use a boolean rather than an int 2023-11-14 16:35:01 +05:30
Kovid Goyal
77292a16d6 Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal
1693107608 A new escape code to change the shape of the mouse pointer
Fixes #6711
2023-10-15 19:57:36 +05:30
Kovid Goyal
16132d0309 Fix stdio not actually being forwarded 2023-08-05 13:24:25 +05:30
Kovid Goyal
e2915601a4 More robust stdio forwarding in tests 2023-08-05 11:37:39 +05:30
Kovid Goyal
bc4d7f4cb1 Get stdio forwarding working in the PTY tests 2023-08-05 10:47:29 +05:30
Kovid Goyal
395e47cc9e CI is even slower than I thought 2023-08-04 07:36:36 +05:30
Kovid Goyal
a74e93d241 Increase timeout for child exit on CI 2023-07-30 19:49:48 +05:30
Kovid Goyal
5578e34da8 ... 2023-07-30 19:49:47 +05:30
Kovid Goyal
84c680266a Dont check exitcode on ancient python 2023-07-30 19:49:44 +05:30
Kovid Goyal
350af446d3 More tests 2023-07-30 19:49:44 +05:30
Kovid Goyal
15978c9c60 Infrastructure for testing the transfer kitten 2023-07-30 19:49:43 +05:30
Kovid Goyal
00b3437a05 Remove python implementation of SSH kitten 2023-02-28 12:42:30 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
ff4353b209 ... 2022-11-14 15:42:01 +05:30
Kovid Goyal
2d8113e0e0 Give up on signal delivery tests 2022-08-01 19:03:02 +05:30
Kovid Goyal
e881850bb4 ... 2022-08-01 19:03:02 +05:30
Kovid Goyal
ed1547938e When running tests ensure the signal mask is empty for processes run in the testing pty 2022-08-01 19:03:01 +05:30
Kovid Goyal
b7d3d64975 Ignore error condition on master fd of testing pty 2022-08-01 19:03:00 +05:30
Kovid Goyal
a6c3c57d40 Test stdio redirection with socket prewarm 2022-08-01 19:02:58 +05:30
Kovid Goyal
7b7f1ecc54 Add basic tests for socket prewarm 2022-08-01 19:02:58 +05:30
Kovid Goyal
061a0c8cb6 Reset global options object in the tests 2022-06-07 10:58:03 +05:30
Kovid Goyal
98f46f8bd7 Start work on prewarming
The prewarm process and its controller are implemented with some basic
tests.
2022-06-06 20:39:36 +05:30
Kovid Goyal
a6aff817cf Prepare for prewarm testing 2022-06-06 15:59:34 +05:30
Kovid Goyal
eb84990f5a Fix #5110 2022-05-19 09:55:12 +05:30
Kovid Goyal
58333f260b Fix spurious error print in test 2022-05-13 17:42:00 +05:30
Kovid Goyal
b866c3e783 Add a zsh test for clone env serialization 2022-04-15 12:04:50 +05:30
Kovid Goyal
e1504c4775 Avoid needing to initialize tty state in bootstrap scripts 2022-03-13 13:55:30 +05:30
Kovid Goyal
2404eba11f ssh kitten: Passthrough to ssh if run outside of kitty
Also, ensure that the ssh data request is only served if it is received
over the tty of the correct kitty window.
2022-03-07 06:48:18 +05:30
Kovid Goyal
c713dc0ca8 Allow using a --kitten argument with the ssh kitten to make it easier to override settings from ssh.conf 2022-03-06 10:07:46 +05:30
Kovid Goyal
ae6665493a Implement setting of env vars 2022-03-03 21:24:44 +05:30
Kovid Goyal
22c1ee7dc8 Cannot call the parser from callbacks that are themselves called from the parser 2022-03-03 21:24:43 +05:30
Kovid Goyal
d452a5cdce ... 2022-03-03 21:24:43 +05:30
Kovid Goyal
8ca3a511cc Get the ssh bootstrap tests fully working 2022-03-03 21:24:43 +05:30