270 Commits

Author SHA1 Message Date
Kovid Goyal
f29bc638ce Remote control: allow scrolling to prev/next prompt 2025-02-18 19:17:10 +05:30
Kovid Goyal
244f4597dc launch: Decouple source and dest windows from active window
Fixes #8295
2025-02-07 13:40:44 +05:30
Kovid Goyal
da1626090a Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal
d3f93cb0cb Fix #8123 2024-12-16 06:01:36 +05:30
Kovid Goyal
96c1a5c4d1 Get automatic theme switching working 2024-11-07 17:31:44 +05:30
Kovid Goyal
36074eabc8 Make code to parse color specs and patch options objects re-useable 2024-11-07 13:14:33 +05:30
Kovid Goyal
c1fb18a6ef Implement changing transparent background colors via remote control 2024-09-24 19:02:13 +05:30
Kovid Goyal
958ad0d8b4 Remote control: Fix --match=state:self not working 2024-09-24 14:09:27 +05:30
Kovid Goyal
25e255e66f kitten @ ls: Fix the `--self` flag not working
Fixes #7864
2024-09-17 10:39:15 +05:30
Kovid Goyal
7a3edb0367 Fix #7844 2024-09-11 10:01:43 +05:30
Kovid Goyal
75d0dcab8d Nicer fix for non-zero fields in rc protocol 2024-08-05 11:18:41 +05:30
Kovid Goyal
0cf9a79760 A new option second_transparent_bg
Makes a second background color semi-transparent via background_opacity.
Useful for things like cursor line highlight in editors.

Fixes #7646
2024-07-21 20:22:31 +05:30
Kovid Goyal
681048f1ca launch command: A new --bias option to adjust the size of newly created windows declaratively
Still need to implement it for the Grid layout.
Fixes #7634
2024-07-20 12:37:18 +05:30
Kovid Goyal
b17c2dd06b Update docs of remote control commands to note that they support more image formats than just PNG 2024-07-17 04:38:11 +05:30
Kovid Goyal
15dd95d420 kitten @ resize-window: Fix --increment=0 treated as --increment=2 2024-07-15 22:32:29 +05:30
Kovid Goyal
3f0604c45f kitty @ -> kitten @ 2024-07-08 06:01:42 +05:30
Kovid Goyal
5e2fc4e90f Fix a regression in the previous release causing an error when setting background_opacity to zero
Fixes #7483
2024-05-28 20:03:10 +05:30
Kovid Goyal
15d86013d8 Add option :option:kitten @ detach-window --stay-in-tab to keep focus in the currently active tab when moving windows
Fixes #7468
2024-05-23 21:45:30 +05:30
Kovid Goyal
f80b32df29 Fix kitten @ set-background-opacity limited to min opacity of 0.1 instead of 0
Fixes #7463
2024-05-22 07:46:39 +05:30
Kovid Goyal
c72ff568c5 Micro-optimization
Start the background process immediately and use a zero timer only if
executing the process fails, thereby guaranteeing ordering without
imposing a delay on process start.
2024-05-18 08:34:01 +05:30
Kovid Goyal
4d820a84bb Fix #7443 2024-05-17 19:01:32 +05:30
Kovid Goyal
4e3f643cf5 ... 2024-05-17 09:06:55 +05:30
Kovid Goyal
160c6ca958 ... 2024-05-14 20:34:46 +05:30
Amos Bird
048ef3b317 Support --env argument for @ run 2024-05-14 22:23:36 +08:00
Kovid Goyal
dfb1ed6a08 ... 2024-05-14 17:08:36 +05:30
Kovid Goyal
38fed8b391 kitten @ run: A new remote control command to run a process on the machine kitty is running on and get its output
Fixes #7429
2024-05-14 14:32:01 +05:30
Kovid Goyal
78416acd16 Handle + and ! combined in argspec 2024-05-14 12:36:48 +05:30
Kovid Goyal
ed6ab27a67 Fix #7342 2024-04-14 07:35:05 +05:30
Kovid Goyal
c1af14c22a Fix @ send-key not working to send keys to self over TTY 2024-03-05 13:09:07 +05:30
Kovid Goyal
d08a44ea4c Add a note as to why errors are not reported for send-text 2024-03-05 08:37:56 +05:30
Kovid Goyal
7b34c0603f Fix --match not working for some remote control commands 2024-03-05 08:00:57 +05:30
Kovid Goyal
391a43d967 Store last cursor render pos in the rendered info struct 2024-02-25 09:57:32 +05:30
Kovid Goyal
946d28ae37 Completion for kitty @ load-config --override xxx 2024-02-10 14:52:29 +05:30
Kovid Goyal
97e2d41233 Completion for kitty @ action 2024-02-10 14:01:45 +05:30
Kovid Goyal
54548931b5 Allow running mappable actions via remote control
Saves me having to define a special remote control wrapper for every
mappable action.
2024-02-10 13:23:06 +05:30
Kovid Goyal
442ca012fd ... 2024-02-07 11:19:42 +05:30
Kovid Goyal
065b17ddbd kitten @ load-config: Allow (re)loading kitty.conf via remote control 2024-02-07 11:08:55 +05:30
Kovid Goyal
cafd5a7471 @ send-text --bracketed-paste
Allow automatically wrapping sent text in bracketed paste if the
program running in the destination window has turned on bracketed paste
mode.
2024-01-26 20:51:21 +05:30
Kovid Goyal
ab9631f045 Better fix 2024-01-21 08:27:16 +05:30
Kovid Goyal
ec0a449c63 Fix a regression in the previous release that caused kitten @ send-text with a match parameter to send text twice to the active window
Fixes #7027
2024-01-21 08:24:22 +05:30
Kovid Goyal
5e934c081e Fix #7004 2024-01-17 08:39:00 +05:30
Kovid Goyal
99995fd9dc Remote control API for send-key 2023-12-03 13:23:01 +05:30
Kovid Goyal
b1e4c06220 Cleanup matching code for @ls and @send-text
Use the same utility function as other commands uses. Fixes #6835
2023-11-21 07:49:33 +05:30
Kovid Goyal
3beb1e454a Fix #6761 2023-10-27 21:54:13 +05:30
Kovid Goyal
5ea9700c82 More kitty @ -> kitten @ 2023-10-18 20:40:39 +05:30
Kovid Goyal
81b032a161 Dont expand cwd=current in rc launch
This is easily done at the command line. And its semantics are
are to refer to cwd of active window.
2023-10-17 05:01:28 +05:30
Kovid Goyal
ddb121b418 Remote control launch: Fix the --copy-env option not copying current environment variables
Fixes #6724
2023-10-16 22:32:51 +05:30
Kovid Goyal
16e7ca3a95 kitten @ set-background-opacity --toggle
Fixes #6691
2023-10-10 05:04:50 +05:30
Kovid Goyal
f50660bb30 Remote control: Allow matching by neighbor of active window 2023-08-25 13:48:53 +05:30
Kovid Goyal
cade8efc25 kitten @ ls: Allow limiting output to matched windows/tabs
Fixes #6520
2023-08-03 11:53:17 +05:30