Kovid Goyal
3e92d62923
DRYer
2025-08-22 19:29:53 +05:30
Kovid Goyal
3087cbdcec
Ring bell when goto_session -1 has no history
2025-08-22 19:27:13 +05:30
Kovid Goyal
8dac15b8b2
goto_session -1 should not fail when no session history is present
2025-08-22 19:18:11 +05:30
Kovid Goyal
f1321185f9
macOS: Fix rendering in fullscreen with background_opacity < 1
...
In fullscreen macOS forces the OS Window to be opaque. Therefore we need
to render with background_opacity = 1 for correct colors.
Fixes #8920
2025-08-22 12:09:31 +05:30
Kovid Goyal
110b13dc98
Make calculation of OS Window background opacity centralised
2025-08-22 11:57:29 +05:30
Kovid Goyal
3483f99d09
name a few anon structs
2025-08-22 11:20:23 +05:30
Kovid Goyal
c2a5af19b0
More tab bar geometry adjustments
...
A couple more places I forgot to change when shifting window boundaries
to be exclusive. Fixes #8921
2025-08-22 11:16:08 +05:30
Kovid Goyal
5e6c397356
Document using negative numbers with goto_session
2025-08-22 07:24:58 +05:30
Kovid Goyal
880b8f1cf1
session should work when matching tabs too
2025-08-21 16:11:44 +05:30
Kovid Goyal
633725544c
Forgot to declare session as a valid search location
2025-08-21 16:02:48 +05:30
Kovid Goyal
229413cbe8
...
2025-08-21 15:50:17 +05:30
Kovid Goyal
7cefc8e55e
Add a note about Wayland panel on output limitations
2025-08-21 06:28:24 +05:30
Kovid Goyal
af8cb7c39d
Use foreground process only if shell integration reports we are not at a prompt
2025-08-20 08:42:33 +05:30
Kovid Goyal
f925327755
Fix de-serialization of some layouts
...
Forgot that JSON converts dict keys to strings. Sigh.
2025-08-20 08:10:29 +05:30
Kovid Goyal
4c987cd509
Avoid evaluating active_session against every window
2025-08-19 22:44:26 +05:30
Kovid Goyal
746a80487a
...
2025-08-19 22:12:27 +05:30
Kovid Goyal
d7070d3b97
Document how to update the currently active session
2025-08-19 22:08:19 +05:30
Kovid Goyal
a9d282afd7
DRYer
2025-08-19 22:01:27 +05:30
Kovid Goyal
b28f620c9f
Allow using save_as_session . to save to the path of the currently active session
2025-08-19 21:58:25 +05:30
Kovid Goyal
e43d894dda
Add a --match argument to limit what windows are saved by save_as_session
2025-08-19 21:53:49 +05:30
Kovid Goyal
89145e6a55
Allow using --match=session:. to match windows in the currently active session
2025-08-19 21:44:20 +05:30
Kovid Goyal
68fdf3f65b
Allow matching against session name in the kitty match language
2025-08-19 16:35:06 +05:30
Kovid Goyal
6d21ebd383
...
2025-08-19 16:21:57 +05:30
Kovid Goyal
e7b3fb0197
When serializing foreground process allow serializing shell builtins as well
2025-08-19 16:19:26 +05:30
Kovid Goyal
03792a1717
A new --add-to-session flag for launch
...
useful to optionally have new windows/tab join the active session when launched.
2025-08-19 16:06:49 +05:30
Kovid Goyal
648886cbd1
Fix windows not being assigned session names
2025-08-19 16:00:38 +05:30
Kovid Goyal
de129dfc65
Fix version added for clipboard pw feature
2025-08-19 15:08:26 +05:30
Kovid Goyal
8451ad44b5
Implement running foreground process even on unknown shells
...
This is not as nice because the environment wont have been setup by
the shell before running the process, but it's the best we can do
for an unknown shell.
2025-08-19 10:37:05 +05:30
Kovid Goyal
1460a69ae9
unset KITTY_SI_RUN_COMMAND_AT_STARTUP when running the command
2025-08-19 09:57:51 +05:30
Kovid Goyal
cd6acf9523
fix abspath of pid function on macOS
2025-08-19 09:50:37 +05:30
Kovid Goyal
4d6672a67c
fish shell integration: run startup command before shell line editor is initialized as it changes terminal state
2025-08-19 09:38:56 +05:30
Kovid Goyal
fc142ff7eb
set window title when running startup command in fish as well
2025-08-19 09:31:45 +05:30
Kovid Goyal
b38b38d17d
Do the same for bash and also sanitize control chars in zsh
2025-08-19 09:23:48 +05:30
Kovid Goyal
54ad4fc63b
zsh shell integration: run startup command before any prompt/exec marking is done and set window title to the command being run
2025-08-19 09:14:46 +05:30
Kovid Goyal
51cc6ec525
Auto create parent directory when saving session file
2025-08-19 07:43:05 +05:30
Kovid Goyal
41488fe8ba
Allow showing the currently active session name in the tab bar
2025-08-19 06:49:14 +05:30
Kovid Goyal
4c0752fd07
Fix #8915
2025-08-19 06:31:36 +05:30
Kovid Goyal
d7c2cdccb1
macOS: Fix closing an OS Window when another OS Window is minimized causing the minimized window to be un-minimized
...
This is a bug we inherited from GLFW.
Fixes #8913
2025-08-18 21:26:54 +05:30
Kovid Goyal
3638adda6c
macOS: Elaborate dance to work around yet another Cocoa bug
...
Fixes #8740
2025-08-18 16:01:51 +05:30
Kovid Goyal
b8b7592b40
...
2025-08-18 15:07:12 +05:30
Kovid Goyal
6beded7b49
Cleanup previous PR
2025-08-18 14:45:18 +05:30
Kovid Goyal
c47e63c2fd
Merge branch 'titlebar_transparent' of https://github.com/zzhaolei/kitty
2025-08-18 11:44:29 +05:30
Kovid Goyal
5662d04b2f
Fix resized area background color not correct during live resize
...
Have to write sRGB colors rather than linear colors in this case
2025-08-18 11:17:40 +05:30
Kovid Goyal
43d4e757aa
Properly blank bar area
...
Otherwise the rounded rect frame lets content from below the bar shine
through at the corners
2025-08-17 21:06:11 +05:30
Kovid Goyal
ac66265b9d
macOS: Also change the font used to be the system ui default font rather than window title font
2025-08-17 20:45:10 +05:30
Kovid Goyal
bccd7135fc
Linux: Dont draw visual select lines and hyperlink hover popups in bold weight
2025-08-17 20:39:33 +05:30
Kovid Goyal
d2c7dd3ed6
...
2025-08-17 20:28:16 +05:30
Kovid Goyal
0cab165daa
Remove duplicate sessions label
2025-08-17 20:13:33 +05:30
Kovid Goyal
322b91b51f
Only use Wayland if loading the glfw-wayland.so DLL succeeds
2025-08-17 19:59:44 +05:30
Kovid Goyal
a2d76a6c34
Document the save_as_session action
2025-08-17 14:44:26 +05:30