Commit Graph

1047 Commits

Author SHA1 Message Date
Sergei Grechanik
32d8aac808 Fix scrolling images within margins
This commit fixes an off-by-one error in image scrolling that caused
images to not be scrolled or to be cropped at the wrong line.
2022-12-25 15:34:54 -08:00
Kovid Goyal
cd92d50a0d Keyboard protocol: Remove CSI R from the allowed encodings of the F3 key as it conflicts with the *Cursor Position Report* escape code 2022-12-24 10:32:28 +05:30
James McCoy
9afd0309fc tests: Use tempdir for XDG_RUNTIME_DIR 2022-12-21 22:21:48 -05:00
Kovid Goyal
c6360537e5 Try to fix tests failing on Python 3.11 2022-12-16 10:05:05 +05:30
Kovid Goyal
032e01ebf7 ... 2022-12-11 20:55:06 +05:30
Kovid Goyal
3ee9f723f2 The legacy osc 52 protocol now works with the new clipboard requests manager class 2022-11-28 20:53:56 +05:30
Kovid Goyal
f9a22d0bc7 Port ANSI escape code parser to Go 2022-11-25 21:03:09 +05:30
Kovid Goyal
cfc6bd4da5 Native code implementation for expanding ANSI escape codes 2022-11-25 17:33:41 +05:30
Kovid Goyal
51bba9110e Bash integration: Fix clone-in-kitty not working on bash >= 5.2 if environment variable values contain newlines or other special characters
Bash >= 5.2 changed the export command to output values using $' escaping when they contain special characters.
Fixes #5629
2022-11-22 16:38:24 +05:30
Kovid Goyal
efaf9faa38 Implement edit-in-kitty using kitty-tool
Fixes #5546
Fixes #5630
2022-11-17 20:48:20 +05:30
Kovid Goyal
a5a4a1bf8f Increase timeout in test 2022-11-17 10:02:44 +05:30
Kovid Goyal
16775c5539 ssh kitten: Add a kitty-tool wrapper script to auto-download and use kitty-tool
Needs testing.
2022-11-15 13:26:48 +05:30
Kovid Goyal
2e07f90baf ... 2022-11-14 15:42:07 +05:30
Kovid Goyal
f945ef8ee8 handle ctrl-c better when interrupting go test 2022-11-14 15:42:06 +05:30
Kovid Goyal
7d5849cc17 ... 2022-11-14 15:42:03 +05:30
Kovid Goyal
d2a2af9672 Add completion for kitty-tool 2022-11-14 15:42:02 +05:30
Kovid Goyal
3bd4fd999a All completion tests pass again 2022-11-14 15:42:02 +05:30
Kovid Goyal
262e2fb7a3 Various fixes from the completion merge 2022-11-14 15:42:02 +05:30
Kovid Goyal
3662efdf80 Nicer handling of python for typecheck 2022-11-14 15:42:02 +05:30
Kovid Goyal
49f5f25fb9 Run tests in the writeable src dir as the generated go files are present there 2022-11-14 15:42:01 +05:30
Kovid Goyal
ff4353b209 ... 2022-11-14 15:42:01 +05:30
Kovid Goyal
800dbf1f4d extra message when tests have failed 2022-11-14 15:42:00 +05:30
Kovid Goyal
54ec486d3a Now completion for hyperlinked_grep is automatic thanks to delegation
Also fix delegation for zsh when the command being completed differs
from the current command.
2022-11-14 15:42:00 +05:30
Kovid Goyal
e3b8de1ac0 Update test for new exe search 2022-11-14 15:41:59 +05:30
Kovid Goyal
928a4db817 Implement delegate based completion fof the ssh and hyperlinked_grep kittens 2022-11-14 15:41:59 +05:30
Kovid Goyal
fd631bf402 Delegate based completion for @launch args 2022-11-14 15:41:59 +05:30
Kovid Goyal
dc403156a9 Delegate based completion for kitty cmd 2022-11-14 15:41:59 +05:30
Kovid Goyal
8796168469 Port code to truncate strings to visual width to Go 2022-11-14 15:41:58 +05:30
Kovid Goyal
67f556bd7c Add completion for the launch wrappers 2022-11-14 15:41:58 +05:30
Kovid Goyal
7737369fc9 Add completion for the kittens 2022-11-14 15:41:58 +05:30
Kovid Goyal
25a7ec9a07 Extra completion for some kitty options 2022-11-14 15:41:58 +05:30
Kovid Goyal
c2a2b4c087 Add various special purpose entry points 2022-11-14 15:41:58 +05:30
Kovid Goyal
3bf20594b7 Wire up completion for rc command options 2022-11-14 15:41:58 +05:30
Kovid Goyal
3a8bab90dc Get rid of WordPrefix 2022-11-14 15:41:58 +05:30
Kovid Goyal
0ff2446a1a More completion work 2022-11-14 15:41:58 +05:30
Kovid Goyal
d84efe105c ... 2022-11-14 15:41:58 +05:30
Kovid Goyal
c5afceb4cb Basic completion for options 2022-11-14 15:41:57 +05:30
Kovid Goyal
18c3e46ac6 When completing on patterns exclude directories that only contain files that dont match 2022-11-14 15:41:57 +05:30
Kovid Goyal
3c29ce936b Dont recurse for file completion
We could potentially end up recursing over the entire file system. And
for completion we only present the candidates in the immediate directory
anyway.
2022-11-14 15:41:57 +05:30
Kovid Goyal
c9d986f9a8 args completion for rc commands 2022-11-14 15:41:57 +05:30
Kovid Goyal
134fce8507 Allow completing paths with ~ prefix 2022-11-14 15:41:57 +05:30
Kovid Goyal
5d89a6c3c4 Work on completion of file args 2022-11-14 15:41:57 +05:30
Kovid Goyal
4575a14873 work on framework for testing completion 2022-11-14 15:41:56 +05:30
Kovid Goyal
b33a684357 ... 2022-11-14 15:41:53 +05:30
Kovid Goyal
3b2c4561c2 Dont change the env for go tests
This prevents got test caching from working greatly increasing the time
for running a test
2022-11-14 15:41:53 +05:30
Kovid Goyal
e69b02ad46 ... 2022-11-14 15:41:53 +05:30
Kovid Goyal
85b6053380 Run go tests in parallel 2022-11-14 15:41:53 +05:30
Kovid Goyal
417c8887b9 Start on testing infra for command to JSON serialization 2022-11-14 15:41:47 +05:30
Kovid Goyal
82a0e56eb2 Fix go tests not being excluded correctly 2022-11-14 15:41:45 +05:30
Kovid Goyal
fb4c7db25e Add a test for existence of kitty-tool 2022-11-14 15:41:45 +05:30