Commit Graph

8460 Commits

Author SHA1 Message Date
Harsh Sharma
218bb4fe10 Fix missing hide_on_focus_loss in layer_shell_config_to_python 2025-07-09 17:37:52 +05:30
Kovid Goyal
d7c4d42f41 Fix #8794 2025-07-09 12:49:12 +05:30
Kovid Goyal
c681a999d5 Fix hyperlink id not being applied to wide cells
Fixes #8796
2025-07-09 12:14:09 +05:30
Kovid Goyal
eabddc2870 Report support for OSC52 write to clipboard in DA1
There are apparently some applications that want to only turn on OSC52
if they can be sure the terminal supports it.
https://github.com/contour-terminal/vt-extensions/blob/master/clipboard-extension.md

Seems harmless enough, though IMO the correct query mechanism for
runtime controllable settings is XTGETTCAP, but, let's be a
good citizen and co-operate. The overhead is not too large and I
have more important windmills to tilt at.

Fixes #8788
2025-07-07 08:45:58 +05:30
Kovid Goyal
3e56def777 panel kitten: Add option to wait for single instance window close 2025-07-02 12:21:02 +05:30
Kovid Goyal
51a265fbb9 Fix #8767 2025-06-30 14:41:30 +05:30
Kovid Goyal
a8386c0263 Fix #8766 2025-06-29 22:52:27 +05:30
Kovid Goyal
75f10d140f Fix off-by-one in code to nuke incomplete multicell chars in line
Fixes #8758
2025-06-27 11:35:18 +05:30
Kovid Goyal
8107ffcb53 ... 2025-06-27 08:47:07 +05:30
Kovid Goyal
65f6b91a92 Cleanup previous PR 2025-06-27 08:39:41 +05:30
j
75387bf69d Add scroll_offset parameter to scroll_to_prompt 2025-06-26 22:07:44 +02:00
Kovid Goyal
bb4e8ffef0 ... 2025-06-21 08:40:18 +05:30
Kovid Goyal
27af96aaf6 ... 2025-06-21 08:37:26 +05:30
Kovid Goyal
bca017fa4c Fix #8741 2025-06-20 20:11:23 +05:30
Kovid Goyal
c7fcd44ecf ... 2025-06-19 11:58:02 +05:30
Kovid Goyal
bbdee7efdf Fix #8736 2025-06-19 07:39:26 +05:30
Kovid Goyal
e63a436ba9 ... 2025-06-15 06:24:35 +05:30
Kovid Goyal
8e55cf7552 Fix #8731 2025-06-14 20:19:21 +05:30
Emmanuel Ferdman
0ba94e37a9 Fix messages in notifications
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-06-07 07:57:51 -07:00
Kovid Goyal
62580c855b Make mypy 1.16 happy 2025-05-30 10:06:38 +05:30
Kovid Goyal
27fdfe6480 forgot to close write end of pipe in parent 2025-05-29 13:06:47 +05:30
Kovid Goyal
f530aba366 Use a non-zero size read to ensure it blocks 2025-05-29 12:33:48 +05:30
Kovid Goyal
3a46e2fe0b Fix #8692 2025-05-29 08:17:45 +05:30
Kovid Goyal
26b3a1e7f3 only loop on EINTR 2025-05-27 17:12:01 +05:30
Kovid Goyal
57c1d9334d ... 2025-05-27 17:11:02 +05:30
Kovid Goyal
94f90479a3 Fix #8680 2025-05-27 17:02:30 +05:30
Kovid Goyal
95f840fd56 Fix #8683 2025-05-27 13:10:11 +05:30
Kovid Goyal
61fd8c4003 Fix #8682 2025-05-27 12:10:14 +05:30
Kovid Goyal
b2b8ede0a9 Remote control: Fix holding a remote control socket open causing the kitty I/O thread to go into a loop and not respond on other remote control sockets 2025-05-22 16:16:39 +05:30
Kovid Goyal
27fd3290f1 Allow generating default values for conf files in go code 2025-05-22 14:01:43 +05:30
Pranav P
afd0bacb6a Fix endianness bug reported in issue #8548 2025-05-21 13:02:11 +05:30
Kovid Goyal
197cfbc1b1 DRYer 2025-05-20 11:16:49 +05:30
Kovid Goyal
e31eda7735 Add a note that xdg-system-bell is terminally broken on Hyprland 2025-05-19 07:03:56 +05:30
Stefan A. Haubenthal
3b20936959 Fixed typos 2025-05-18 19:52:12 +05:30
Kovid Goyal
d8b0edce43 Add a note that grabbing keyboard doesnt work on macOS 2025-05-18 14:34:10 +05:30
Kovid Goyal
95c6279bdd Implement --grab-keyboard
Currently works on Wayland.
2025-05-18 14:30:33 +05:30
Kovid Goyal
cc4d4eeaca Fix shortcuts from global menubar not working when keyboard grabbed on macOS 2025-05-18 14:23:38 +05:30
Kovid Goyal
95f5e9293e DRYer 2025-05-18 11:47:22 +05:30
Kovid Goyal
6f689f3221 Work on keyboard grabbing functionality 2025-05-18 11:37:11 +05:30
Kovid Goyal
13c37cf694 Fix remember_window_position not working because of a stupid typo
Fixes #8646
2025-05-18 07:53:30 +05:30
Kovid Goyal
d56721e64d version 0.42.1 2025-05-17 08:40:20 +05:30
Kovid Goyal
35067a60ff Also build launcher with -std=c11
Fixes #8642
2025-05-16 19:33:30 +05:30
Kovid Goyal
c861259e3b Rename go module from kitty -> github.com/kovidgoyal/kitty
Makes the code more easily re-useable in other projects
2025-05-16 08:43:39 +05:30
Kovid Goyal
27a9db95af Cleanup previous PR 2025-05-15 21:44:05 +05:30
Jin Liu
4c6c38929b panel kitten: on Wayland, use app-id for the LayerShellV1 namespace parameter
The Wayland LayerShellV1 protocol doesn't allow setting window class/name/role/type/appId.
Instead, it has a `namespace` parameter that we currently hardcode to `kitty`. It
seems suitable to use app-id for this parameter.

Example use case:
kwin use the `namespace` parameter and an undocumented mapping to set window type for
Layer Shell windows. E.g., "dock" maps to NET:Dock. So if we set `app_id dock` in
quick_access_terminal.conf, the panel would be considered a dock, and won't have the
normal scale in/out animation on shown/hidden.
2025-05-15 23:55:48 +08:00
Kovid Goyal
9a543c2370 Modify docs since --class and --name dont apply to panels on Wayland 2025-05-15 19:55:20 +05:30
Kovid Goyal
a3634e4903 ... 2025-05-15 09:39:30 +05:30
Kovid Goyal
8017945551 Wayland: Add support for the xdg-toplevel-tag protocol
Now you can use --name or its alias --os-window-tag to set the tag.
2025-05-15 09:35:42 +05:30
Kovid Goyal
51adca08f2 Only chdir to / if the cwd is not executable or does not exist. Fixes #8636 2025-05-14 08:58:57 +05:30
Kovid Goyal
6282a46ff1 A new centered panel type that is sized 2025-05-13 16:38:57 +05:30