Commit Graph

1450 Commits

Author SHA1 Message Date
Kovid Goyal
b6ca501111 Document the new color control protocol 2024-07-22 13:24:25 +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
681a2b7b28 Sessions: A new command focus_matching_window to shift focus to a specific window, useful when creating complex layouts with splits 2024-07-19 14:54:44 +05:30
Kovid Goyal
43769bc3e0 Allow controlling the easing curves used for the visual bell 2024-07-19 11:35:00 +05:30
Kovid Goyal
3ff7eb68f8 Document how to animate the cursor blinking 2024-07-19 09:09:13 +05:30
Kovid Goyal
06b5eff6e6 Add support for in-band window resize notifications
Fixes #7642
2024-07-18 20:32:33 +05:30
Kovid Goyal
e0a7d25dda Splits layout: Fix the move_to_screen_edge action breaking when only a single window is present
Fixes #7621
2024-07-12 12:13:31 +05:30
Kovid Goyal
ee7afeea5a Remove workaround for kwin sending out of order events press/focus events on Wayland as it is not needed with up-to-date kwin and causes issues with multiple OS windows.
The code wasnt correct anyway as active_draw_in_window was a window id
and it was being compared to an OS window id.

Fixes #7381
2024-07-09 08:02:10 +05:30
Kovid Goyal
f8beaa0a4b Dispatch any clicks waiting for click_interval on key events
Fixes #7601
2024-07-07 20:17:22 +05:30
Kovid Goyal
3d77950b45 Update changelog 2024-07-02 19:16:05 +05:30
Kovid Goyal
98c85d2923 Use builtin NERD fonts
Prevents users from having to install their own NERD font. System fonts
are still used preferentially on Linux but on macOS the builtin one is
used preferentially. Cant find any CoreText API to change this.

Still has to be implemented on macOS. And need to add code to the build
system to bundle the font when building.
2024-07-02 10:28:07 +05:30
Kovid Goyal
314da124f3 macOS 15: Handle Fn modifier when detecting global shortcuts
Fixes #7582
2024-07-01 09:54:01 +05:30
Kovid Goyal
78d1275601 macOS: Fix rendering of the unicode hyphen (U+2010) character when using a font that does not include a glyph for it
The problem was caused by CoreText falling back to the glyph for the
ASCII hyphen U+00AD when the font does not contain a glyph for U+2010.
However, HarfBuzz does not do this automatic fallback (see
https://github.com/harfbuzz/harfbuzz/issues/517). This leads to the
character not being rendered.

To fix this we specialize HarfBuzz glyph lookup for this character
to follow CoreText. HarfBuzz should really do this automatically when
the hb_font is based on a CTFontRef, but I dont have the time/energy to
argue with its maintainers. Note that HarfBuzz already does this
automatic fallback for U+2011.

Hopefully, there aren't many more such special cases in CoreText.

Fixes #7525
2024-06-29 14:22:04 +05:30
Kovid Goyal
ab296b1551 ... 2024-06-29 11:08:23 +05:30
Kovid Goyal
107cd957d3 Update changelog 2024-06-25 13:16:05 +05:30
Kovid Goyal
5bb8378dc1 icat: Add an option to leave the cursor to the right of the image
Fixes #7574
2024-06-25 13:06:46 +05:30
Kovid Goyal
190566be8e Wayland: Fix specifying the output name for the panel kitten not working
Fixes #7573
2024-06-25 12:53:37 +05:30
Kovid Goyal
b34bd8dc93 Update change log with variable font support 2024-06-24 10:06:43 +05:30
Kovid Goyal
3fd51e4ebb Cleanup previous PR 2024-06-23 19:27:11 +05:30
Kovid Goyal
ad328bfeaa version 0.35.2 2024-06-22 09:04:46 +05:30
Kovid Goyal
1a38b60463 URL detection: Fix IPv6 hostnames breaking URL detection
Fixes #7565
2024-06-21 05:53:21 +05:30
Kovid Goyal
2bcb32d611 Fix scrollback_indicator_opacity not actually controlling the opacity
Fixes #7557
2024-06-19 06:03:30 +05:30
Kovid Goyal
2a6870b21f Wayland labwc: Fix kitty timing out waiting for compositor to quit fucking around with scales on labwc
labwc is unique among Wayland compositors in implementing fractional
scale but not preferred integer buffer scale events. We didn't cater to
this particular combination of before. And to top it off it appears to
have no way for the user to set/control the scale so I cant even test
what it will do with fractional scales other than 1. Sigh. As with all
things Wayland, you need to be a masochist to subject yourself to them.

Fixes #7540
2024-06-16 15:01:46 +05:30
Kovid Goyal
57aa591a90 ... 2024-06-16 06:13:54 +05:30
Kovid Goyal
e0998fcbb1 Update changelog 2024-06-16 06:09:01 +05:30
Kovid Goyal
f4bec5f4ab Remote control: Fix empty password not working
Fixes #7538
2024-06-15 11:15:19 +05:30
Kovid Goyal
68649d78df Cleanup previous PR 2024-06-15 06:12:31 +05:30
Kovid Goyal
6f0366d42f Update changelog and cleanup docs of the window_logo_scale option 2024-06-14 13:49:58 +05:30
Kovid Goyal
1bfb1de7fc version 0.35.1 2024-05-31 14:22:58 +05:30
Kovid Goyal
beb42d571b Forgot to use aspect ratio calculation when only one of r/c is specified for determining cursor position and image cell overlaps. Fixes #7479 2024-05-28 21:30:26 +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
48070ff38e Fix #7481 2024-05-28 15:14:13 +05:30
Kovid Goyal
57b6cec900 Update changelog 2024-05-28 10:29:12 +05:30
Kovid Goyal
9837531b63 Wayland: Fix a regression in 0.34 that caused the tab bar to not render in second and subsequent OS Windows under Hyprland
Fixes #7413
2024-05-28 09:12:37 +05:30
Kovid Goyal
03aab9a88b version 0.35.0 2024-05-25 09:07:36 +05:30
Kovid Goyal
9acca045bd macOS: Fix changing window chrome/colors while in traditional fullscreen causing the titlebar to become visible
Fixes #7469
2024-05-23 22:30:57 +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
f86102ab88 macOS: Fix --start-as=fullscreen not working when another window is already fullscreen
Apparently, we need to make the window visible before full screening it.
Sigh. I dont know why Apple insisted on this horrible "fancy"
fullscreen of theirs, it's full of bugs and dog slow.

Fixes #7448
2024-05-23 08:38:38 +05:30
Kovid Goyal
3f6b1a9d81 launch --hold: Fix hold not working if kernel signals process group with SIGINT
Fixes #7466
2024-05-22 17:24:36 +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
85a64f2934 Scrolling with mouse wheel when a selection is active should update the selection
Fixes #7543
2024-05-20 09:58:48 +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
3cc9750af8 Update changelog 2024-05-17 09:02:53 +05:30
Kovid Goyal
865f662216 Desktop notifications protocol: Add support for specifying urgency 2024-05-16 21:38:43 +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
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
0d68a21be5 notify_on_cmd_finish: Show the actual command that was finished
Fixes #7420
2024-05-09 09:49:26 +05:30