203 Commits

Author SHA1 Message Date
Kovid Goyal
02e062af65
Add a mappable action to cleanup shared SSH connections 2022-03-15 11:34:56 +05:30
Kovid Goyal
90561682cf
Make using kitty askpass optional 2022-03-14 11:38:31 +05:30
Kovid Goyal
f6fb36c58a
Merge branch 'fix-icat_typeerror_on_print_window_size' of https://github.com/nertro/kitty 2022-03-12 08:08:32 +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
ce620cec0a
Use a memoryview to avoid memcopies 2022-03-04 13:41:23 +05:30
pagedown
2235ea67e2
Fix ScreenSizeGetter 2022-02-28 22:39:19 +08:00
Kovid Goyal
ef637cd7d3
... 2022-02-28 11:28:42 +05:30
Kovid Goyal
dbbabd73c5
Repeat hold message on ctrl+c/d instead of completely ignoring or ending hold 2022-02-28 11:17:00 +05:30
Kovid Goyal
436ef0074a
DRYer 2022-02-28 11:08:32 +05:30
Kovid Goyal
c9cc832875
Add basic tests for zsh shell integration 2022-02-21 17:57:25 +05:30
Kovid Goyal
63f974531b
Framework for testing with external programs via a PTY 2022-02-21 14:08:10 +05:30
Kovid Goyal
6bfb6da0ad
Make the regex for sgr stripping tighter 2022-02-15 22:33:51 +05:30
Kovid Goyal
e9f49a3292
Make ANSI sanitizer pattern re-useable 2022-02-15 22:14:14 +05:30
Kovid Goyal
c54bdd921a
Allow pressing esc to exit --hold as well 2022-02-07 18:14:54 +05:30
Kovid Goyal
fc17528337
Get --hold to work even when stdin is redirected 2022-02-07 15:39:21 +05:30
Kovid Goyal
2170d4e21a
DRYer 2022-01-16 09:47:44 +05:30
Kovid Goyal
2538e94390
Use a single SGR regex pattern cache 2022-01-16 09:46:52 +05:30
Kovid Goyal
a155b081b7
Make hold_till_enter re-useable 2022-01-07 12:13:20 +05:30
Kovid Goyal
37fe98fdec
Fix failure on older python 2022-01-02 09:39:05 +05:30
Kovid Goyal
0fcc446298
Avoid extra type checking import of re 2022-01-02 09:26:52 +05:30
pagedown
a3e9e0f010
Use the already imported subprocess 2022-01-01 21:29:46 +08:00
pagedown
98e44a8907
Unify resolution of absolute paths or config dir paths 2021-12-09 20:43:07 +08:00
Kovid Goyal
5f744368dd
A new option exe_search_path to modify the locations kitty searches for executables to run 2021-12-09 12:13:26 +05:30
Kovid Goyal
77b15bf73f
... 2021-12-09 11:51:10 +05:30
pagedown
5d1f58427e
... 2021-12-09 11:57:17 +08:00
pagedown
02a7316342
Use the unified PATH search function 2021-12-09 11:32:30 +08:00
Kovid Goyal
50ce698524
oops 2021-12-08 22:21:15 +05:30
Kovid Goyal
32768e7939
Unify the PATH searching algorithm for launch and running children 2021-12-08 20:10:34 +05:30
Kovid Goyal
e68debc94e
Handle blocking io errors when writing all to an fd 2021-11-17 11:45:15 +05:30
Kovid Goyal
4841502959
Use a single kitty invocation for manual shell integration 2021-11-08 11:27:10 +05:30
Kovid Goyal
336c7ddca8
DRYer 2021-10-31 15:41:19 +05:30
Kovid Goyal
22673ebd90
... 2021-10-31 14:06:02 +05:30
Kovid Goyal
b1c0398bba
Avoid unnecessary CPU churn when reading from stdin for @ send-text 2021-10-31 14:04:07 +05:30
Kovid Goyal
2443dc135c
Use a faster implementation of the Color type
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal
d090db380f
Add more type annotations 2021-10-27 13:26:18 +05:30
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
8057c420d9
Fix resize-os-window slightly incorrect on high DPI
Caused by premature clamping of a floating point number
2021-10-12 19:40:02 +05:30
Kovid Goyal
85db87a121
A shader to draw a single seven segment number over a kitty window 2021-10-11 11:13:29 +05:30
Kovid Goyal
3bc7b5bad9
Remote file transfer: Fix transfer not working is custom ssh port or identity is specified on the SSH command line
Fixes #4067
2021-09-27 10:58:40 +05:30
Kovid Goyal
aafd8a8da4
When expanding vars allow using $$ for literal $ 2021-08-31 17:24:19 +05:30
Kovid Goyal
42dcecde14
More work on file transmission 2021-08-22 13:01:43 +05:30
Kovid Goyal
5a92d3f312
Fix a regression that broke the edit action in the remote file kitten 2021-08-13 16:59:40 +05:30
Kovid Goyal
5a47e0d2e4
Make reload_conf_in_all_kitties re-useable 2021-08-08 09:38:29 +05:30
Kovid Goyal
6f83f76d41
Make reading shell environment a bit more robust
Now ensure that --login flag is not duplicated. Also
run the shell in --interactive as well as --login mode.
2021-07-29 11:12:09 +05:30
Kovid Goyal
419cf78984
A new remote control command to resize OS Windows 2021-07-25 22:57:00 +05:30
Kovid Goyal
00828cb804
More reloading work for various options 2021-06-07 09:30:15 +05:30
Kovid Goyal
6d7df1c5e8
Refactor configuration file parsing
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal
f7db9e3527
Move deprecated parsers into utils 2021-05-31 17:40:48 +05:30
Kovid Goyal
09093c8f3e
Cleanup PR 2021-05-30 12:47:00 +05:30