Kovid Goyal
ca7ab7a57c
Get rid of os.Exit() from ExecAndHoldTillEnter
2025-09-30 13:25:22 +05:30
Kovid Goyal
712faa7aa5
Fix pruning on DiskCache object creation
2025-09-30 13:18:00 +05:30
Kovid Goyal
8fdbf8d7da
Make the paths returned by DiskCache stable even if the parent entry is removed/pruned for the life of the process
2025-09-30 12:53:08 +05:30
Kovid Goyal
16d411943a
Add integration test for go atexit implementation
2025-09-30 12:37:25 +05:30
Kovid Goyal
190e3e5891
Add atexit cleanup via worker process to kittens infrastructure
2025-09-30 11:52:13 +05:30
Kovid Goyal
4f9519d773
Cleanup __atexit__
2025-09-30 11:29:49 +05:30
Kovid Goyal
ba96fa06fe
Allow using defer in KittenMain
2025-09-30 11:20:37 +05:30
Kovid Goyal
ca0ff68d8e
More tests for disk cache
2025-09-30 11:16:49 +05:30
Kovid Goyal
ec6910074f
Avoid quadratic algorithm
2025-09-30 08:49:31 +05:30
Kovid Goyal
4122f029df
...
2025-09-30 08:46:11 +05:30
Kovid Goyal
7dae6e3945
...
2025-09-30 08:40:30 +05:30
Kovid Goyal
fb3a36b9aa
Render in layers when cursor trail is active
...
Fixes incorrect light cursor trail colors due to sRGB blending when
rendering without layers.
2025-09-29 22:49:07 +05:30
Kovid Goyal
a8e930c167
Fix titlebar color not working for opaque windows
...
As long as titlebar_color is not nil, we need a background view
2025-09-29 22:36:27 +05:30
Kovid Goyal
75ec41e08b
Make titlebar background view a child of the titlebar view itself
2025-09-29 22:02:38 +05:30
Kovid Goyal
13bbaee112
Only insert titlebar background view if the titlebar is transparent
2025-09-29 21:47:40 +05:30
Kovid Goyal
b6b977ff56
Add .kitty_session as a known session file extension
2025-09-29 21:42:44 +05:30
Kovid Goyal
bac2ff90ba
Fix empty aliases causing an error when loading known sessions
...
Fixes #9043
2025-09-29 21:30:26 +05:30
Kovid Goyal
2f14ebb554
Merge branch 'better-spinner-render' of https://github.com/alex-huff/kitty
2025-09-29 20:53:21 +05:30
alex-huff
8abdff10f7
decorations: improve spinner rendering
...
Fixes #9032
This commit improves spinner rendering by:
- Removing the constant 1px reduction to the spinner radius
introduced by 2f983c1 . This caused the spinner radius to be too
small at higher line widths.
- Always considering half the line width to be at or above 0.5
pixels since visually the line cannot actually be rendered at a
width below 1 pixel. This allows for more consistent behavior at
different line widths and resolutions.
- Accounting for the line width when setting up the 'ClipRect'.
Before, the top and bottom of a spinner would get cut off at high
line widths.
2025-09-29 10:13:32 -05:00
Kovid Goyal
b92246448d
Fix a regression in the previous release that caused the cursor trail to not be hidden properly
...
In refactoring the trail shader, I guess I forgot to premultiply the
output color.
Fixes #9039
2025-09-29 20:35:12 +05:30
Kovid Goyal
13e3ecad5c
Session files: Fix a regression in the previous release that broke matching on windows in the current tab
...
Fixes #9037
2025-09-29 19:44:01 +05:30
Kovid Goyal
14f75c9a9b
DRYer
2025-09-29 17:44:24 +05:30
Kovid Goyal
d2cc22e7c6
macOS: React to changes in effective appearance of the NSApplication not the content view for each window
...
This is nicer now every OS Windows doesnt cause a notification. Also
fixes #9034 which was caused by us setting an explicit appearance on the
window when the titlebar is set to a specific color thereby preventing
the views in the window from getting appearance change notifications.
2025-09-29 17:17:46 +05:30
Kovid Goyal
f4867928b4
DRYer
2025-09-29 17:00:18 +05:30
Kovid Goyal
843f0681f0
Remove warning in macos_titlebar_color docs about titlebar arbit colors.
2025-09-29 16:54:12 +05:30
Kovid Goyal
a97734c60b
Dont report modifyOtherKeys when running tests
2025-09-29 14:18:53 +05:30
Kovid Goyal
470068d92f
Handle two parameter form of modifyOtherKeys
2025-09-29 14:14:38 +05:30
Kovid Goyal
2f991691f9
Fix test failure with fish >= 4.1
...
fish now requires a response to a DA1 query
2025-09-29 14:01:57 +05:30
Kovid Goyal
7a71db8830
...
2025-09-29 13:08:49 +05:30
Kovid Goyal
2ceddba923
goto_session: Add --sort-by=alphabetical
...
Have the interactive session picker list the sessions in a fixed order
rather than by most recent.
2025-09-29 13:03:23 +05:30
Kovid Goyal
d8b524c692
Cache parsing of command line specifications
...
Change option specification from dict to tuple for better performance
and immutability and better type checking.
2025-09-29 12:31:10 +05:30
Kovid Goyal
1252098016
DRYer
2025-09-29 09:09:49 +05:30
Kovid Goyal
fb4a3d7f17
Revert reversion of Tahoe fix in 7589bf4b11
...
It is still needed. Instead change the frame to havezero size and leaves
its origin unchanged.
2025-09-29 08:58:41 +05:30
Kovid Goyal
bdae74d7ed
Wayland: Ensure color manager get_surface is called just once
...
This should not be needed since create_surface is called just once, but
good to be safe.
2025-09-29 08:36:51 +05:30
Kovid Goyal
0d15c6f7c7
Also escape choices
2025-09-28 23:12:35 +05:30
Kovid Goyal
f0b79f9f64
Fix #9028
2025-09-28 23:11:56 +05:30
Kovid Goyal
80285b67f1
Merge branch 'fix-default-regex' of https://github.com/alex-huff/kitty
2025-09-28 22:44:56 +05:30
alex-huff
a1e63ee87c
hints: make default regex ignore trailing whitespace
2025-09-28 11:54:44 -05:00
Kovid Goyal
16faa1d541
Fix a regression in the previous release that caused the incorrect tab to be active when loading a session
...
Fixes #9025
2025-09-28 21:46:08 +05:30
Kovid Goyal
545db0f68f
Remove debug print
2025-09-28 21:38:33 +05:30
Kovid Goyal
d7199f1f75
Start working on tests for disk cache
2025-09-28 21:35:36 +05:30
Kovid Goyal
cdb6986ce0
...
2025-09-28 21:27:16 +05:30
Kovid Goyal
e542cd8378
macOS: Fix a big where the color of a transparent titlebar was off when running in the release build versus the build from source. Also fix using a transparent titlebar causing the background opacity to be darkened.
...
There were two issues.
1) Setting window background color to a non-zero opacity causes
darkening (essentially there were two layers of blending)
2) The titlebar background view could end up in the wrong position
because it was a child of the content view rather than its super view
Fix both issues setting the window background to clear color and
moving the background view into the super view while making sure it is
positioned correctly using explicit constraints. Phew.
2025-09-28 21:24:00 +05:30
Kovid Goyal
e024226b0c
Dont need to set origin since we are setting anchors
2025-09-28 20:22:40 +05:30
Kovid Goyal
8bef718c9a
Tighten the scope searched for sub views
2025-09-28 19:46:11 +05:30
Kovid Goyal
b6f9080486
Use explicit constraints for the titlebar bg view
...
Easier to reason about
2025-09-28 17:20:37 +05:30
Kovid Goyal
791902caad
...
2025-09-28 17:03:33 +05:30
Kovid Goyal
09133a7039
Use only one subview for translucent titlebar
2025-09-28 17:01:10 +05:30
Kovid Goyal
57345af8e9
Move titlebar background setting to after window stylemask is set
...
The titlebar height calculation depends on the stylemask
2025-09-28 16:20:52 +05:30
Kovid Goyal
99a5f6bd5f
version 0.43.0
v0.43.0
2025-09-28 09:54:43 +05:30