Commit Graph

952 Commits

Author SHA1 Message Date
Kovid Goyal
715548b144
Make test robust against wezterm's system wide shell integration
Not only is it system wide but it runs by default, even outside wezterm,
sigh.
2024-01-18 12:52:54 +05:30
Kovid Goyal
b0ba4b4a42
Fast and robust implementation of shlex.split
Also returns position of words in src string which we will need for
keymap parsing.
2023-12-02 14:57:02 +05:30
Kovid Goyal
53980d00f0
a couple more tests 2023-12-01 18:16:22 +05:30
Kovid Goyal
165f1ccfd1
Port the test 2023-11-30 20:06:20 +05:30
Kovid Goyal
716bf714db
Fix a couple of tests 2023-11-30 11:53:09 +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
77140fc798
Fix #6803 2023-11-10 08:49:33 +05:30
Kovid Goyal
52d5a4679f
Graphics protocol: Support for positioning images relative to other images
Fixes #6617
2023-10-27 15:27:30 +05:30
Kovid Goyal
defa2e29ac
Always ask for confirmation when pasting text with control codes in it 2023-10-20 13:02:28 +05:30
Kovid Goyal
56963c693e
When pasting in bracketed paste mode and the cursor is at a shell prompt, strip out C0 control codes
Some shells incorrectly interpret these allowing escape from bracketed paste mode. Thanks to David Leadbetter for discovering.
2023-10-20 12:17:13 +05:30
Kovid Goyal
4b997a961c
A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
2023-10-20 08:37:45 +05:30
Kovid Goyal
5d5bbe9b96
Add a paragraph on legacy xterm compat for pointer shapes 2023-10-15 21:59:04 +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
1f91250a40
Fix trailing bracket not ignored when detecting a multi-line URL with the trailing bracket as the first character on the last line
Fixes #6710
2023-10-13 10:44:58 +05:30
Kovid Goyal
455d0a6048
Dont show hidden sub-commands during completion 2023-10-10 05:41:27 +05:30
Kovid Goyal
13bdb2035c
Merge branch 'pr-fix-reset' of https://github.com/sergei-grechanik/kitty 2023-09-04 07:34:12 +05:30
Sergei Grechanik
63cc5d7e49 Fix erasure of unicode placeholder images on reset 2023-09-03 15:33:30 -07:00
Jake Stewart
6354ef4cee add tests for python config parser 2023-09-03 16:37:59 +08:00
Kovid Goyal
951951776a
Ensure group_count is never zero in any ImageRef
Now group_count means the number of refs pointing to the same image from
that ref onwards. This is needed because we can index the list of refs
at any point when drawing not just at the start of a group.

Fixes #6594
2023-09-02 12:48:44 +05:30
Kovid Goyal
93bb6680c5
flush after run_cli, more logical 2023-08-07 12:37:27 +05:30
Kovid Goyal
1347d1ad47
Let go tests run without blocking on stdio 2023-08-07 10:56:39 +05:30
Kovid Goyal
d6187b5bfc
... 2023-08-07 10:25:20 +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
88beb58838
Prevent go test output being interleaved with python 2023-08-05 10:15:08 +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
c11d1d3430
Add more integration testing for the transfer kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
47913a7c1f
Tests for normal mode home dir expansion 2023-07-30 19:49:47 +05:30
Kovid Goyal
995c447435
Get the multi file tests working for the receive kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
5578e34da8
... 2023-07-30 19:49:47 +05:30
Kovid Goyal
a30687125c
Start on tests for receive kitten 2023-07-30 19:49:47 +05:30
Kovid Goyal
2cae0ab695
Dont wait for cancel response when user denies permission 2023-07-30 19:49:46 +05:30
Kovid Goyal
bb897fa299
Ignore directory mtimes when testing
They are flaky on CI for some reason
2023-07-30 19:49:46 +05:30
Kovid Goyal
eecf24b986
Fix registering of mtimes 2023-07-30 19:49:44 +05:30
Kovid Goyal
e60fef3ba1
More tests for send kitten 2023-07-30 19:49:44 +05:30
Kovid Goyal
346a651a48
Add option to control compression modes 2023-07-30 19:49:44 +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
39f7f2d7b4
Cant flush response in a parser callback as it can cause recursive parsing 2023-07-30 19:49:44 +05:30
Kovid Goyal
34dfd1881f
Update docs on what is needed for the transfer kitten 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
42edfa6a47
Prevent ruff from failing because of to be ported test 2023-07-30 19:49:43 +05:30
Kovid Goyal
86a1a40d1d
remove unused code 2023-07-30 19:49:43 +05:30
Kovid Goyal
edc1669ced
Ported tests all pass 2023-07-30 19:49:43 +05:30
Kovid Goyal
bbbc33d4dc
... 2023-07-30 19:49:43 +05:30
Kovid Goyal
b03fa08884
... 2023-07-30 19:49:43 +05:30
Kovid Goyal
9a5b3a7315
Start work on porting rsync roundtrip tests 2023-07-30 19:49:43 +05:30