Commit Graph

13932 Commits

Author SHA1 Message Date
Kovid Goyal
703068f884 Fix packet coalescing over network transport causing remote control run over socket not working reliably 2024-05-17 22:18:04 +05:30
Kovid Goyal
64870af53f simplify logic 2024-05-17 20:05:24 +05:30
Kovid Goyal
512d6bd308 Simplify panel check
We only dont work on macOS. So dont need to check or DISPLAY env vars
since all other display servers are supported.
2024-05-17 19:43:16 +05:30
Kovid Goyal
bbaf2d9288 Merge branch 'panel-wayland-check' of https://github.com/codelif/kitty 2024-05-17 19:41:41 +05:30
Harsh Sharma
a00a371b20 Add check for wayland display env for panel kitten
panel kitten previously checked only for DISPLAY env variable,
but a wayland session has WAYLAND_DISPLAY env set.
Due to this wayland sessions without xwayland could not run panel
kitten.
2024-05-17 19:26:43 +05:30
Kovid Goyal
4d820a84bb Fix #7443 2024-05-17 19:01:32 +05:30
Kovid Goyal
b3cc5aed30 Wayland: Fix running background process via remote control not working when no OSWindow has focus 2024-05-17 13:56:46 +05:30
Kovid Goyal
2bfeb13628 XTGETTCAP: Also respond for boolean capabilities from terminfo 2024-05-17 10:23:20 +05:30
Kovid Goyal
066c164ef3 Nesting combine should preserve window_for_dispatch 2024-05-17 09:56:15 +05:30
Kovid Goyal
eb2221b11a Remote control: @ action: Fix some actions being performed on the active window instead of the matched window
Fixes #7438
2024-05-17 09:35:54 +05:30
Kovid Goyal
4e3f643cf5 ... 2024-05-17 09:06:55 +05:30
Kovid Goyal
3cc9750af8 Update changelog 2024-05-17 09:02:53 +05:30
Kovid Goyal
d3a3860987 Merge branch 'horiz' of https://github.com/MithicSpirit/kitty 2024-05-17 09:02:15 +05:30
Kovid Goyal
5a5e264ca3 Fix building on older macOS SDK 2024-05-17 08:09:19 +05:30
MithicSpirit
71a958f6f6 fix: horizontal scrolling direction
Fixes kovidgoyal#7439.
2024-05-16 16:22:45 -04:00
Kovid Goyal
d9631cdedd Port the notifications test to handle urgency 2024-05-16 21:45:15 +05:30
Kovid Goyal
865f662216 Desktop notifications protocol: Add support for specifying urgency 2024-05-16 21:38:43 +05:30
Kovid Goyal
176dab37d9 Fix building on apple 2024-05-16 21:24:36 +05:30
Kovid Goyal
1e1f99cebc Add urgency support to cocoa notification API 2024-05-16 21:23:36 +05:30
Kovid Goyal
ed341823eb ... 2024-05-16 21:14:43 +05:30
Kovid Goyal
adc457ff0f Dynload libsystemd 2024-05-16 21:13:09 +05:30
Kovid Goyal
b5022cbd81 DRYer 2024-05-16 20:17:15 +05:30
Kovid Goyal
32f3d43aa0 Support setting urgency for DBUS notifications 2024-05-16 20:10:26 +05:30
Kovid Goyal
ab624bb799 Install libsystemd-dev in the build VM 2024-05-16 18:57:50 +05:30
Kovid Goyal
bd88d2f734 Install systemd headers in CI 2024-05-16 18:48:19 +05:30
Kovid Goyal
f979c24add Move some defines to only the source files where they are needed 2024-05-16 17:38:26 +05:30
Kovid Goyal
f30652c24a ... 2024-05-16 17:18:06 +05:30
Kovid Goyal
28a9f48786 Fix CI with systemd 2024-05-16 16:00:28 +05:30
Kovid Goyal
39ea084be9 Linux: Run all child processes in their own systemd scope to prevent the OOM killer from harvesting kitty when a child process misbehaves
Fixes #7427
2024-05-16 15:43:25 +05:30
Kovid Goyal
3345e40bdb Add some more box-drawing characters from the "Geometric shapes" Unicode block
Fixes #7433
2024-05-15 09:27:32 +05:30
Kovid Goyal
98624d614e Dont use deprecated ruff invocation syntax 2024-05-14 20:37:25 +05:30
Kovid Goyal
160c6ca958 ... 2024-05-14 20:34:46 +05:30
Kovid Goyal
8a175010e6 typo 2024-05-14 20:32:34 +05:30
Kovid Goyal
fed26ff77f Merge branch 'add_env_arg_for_at_run' of https://github.com/amosbird/kitty 2024-05-14 20:12:03 +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
8c1e365eb5 hints kitten: Allow clicking on matched text to select it in addition to typing the hint 2024-05-14 15:22:03 +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
1a394d6a57 Allow rc commands to control the exit code 2024-05-14 14:31:31 +05:30
Kovid Goyal
f659342b48 notify with actual exception when launching background process fails 2024-05-14 14:21:48 +05:30
Kovid Goyal
cbe4e705db Allow at commands to specialize response handling 2024-05-14 13:14:21 +05:30
Kovid Goyal
8cb53cb5a6 Fix handling of streaming remote command via tty_io that doesnt actually stream anything 2024-05-14 13:13:17 +05:30
Kovid Goyal
8eb3267fb8 Make the API to run background processes more powerful
Supports death notification and can redirect stdout/stderr to an fd
2024-05-14 13:11:04 +05:30
Kovid Goyal
78416acd16 Handle + and ! combined in argspec 2024-05-14 12:36:48 +05:30
Kovid Goyal
6be75ce1c7 Dont hold lock while reporting reaped pids
Can lead to a deadlock if the python code calls something that tries to
acquire the same lock
2024-05-14 12:35:12 +05:30
Kovid Goyal
46fed6ffa9 Make remote_control_passwrods parsing code re-useable 2024-05-14 09:28:55 +05:30
Kovid Goyal
4d9b1b81ea Fix #7426 2024-05-13 08:35:17 +05:30
Kovid Goyal
1307c2345d Fix macOS binary build failing because of a test 2024-05-11 08:37:51 +05:30
Kovid Goyal
dc410fa0c7 Handle invalid UTF-8 reported cmdline more gracefully 2024-05-11 08:34:05 +05:30
Kovid Goyal
c17d7614e1 Allow showing a more useful error message when wait_till fails 2024-05-11 08:33:47 +05:30