Commit Graph

1628 Commits

Author SHA1 Message Date
Kovid Goyal
678f2ad073 Fix build on older compiler 2024-12-15 09:23:29 +05:30
Kovid Goyal
79a07ee61c version 0.38.0 2024-12-15 09:20:06 +05:30
Kovid Goyal
9d48fa9126 hints/unicode_input kittens: Do not lose keypresses that are sent very rapidly via an automation tool immediately after the kitten is launched
We now buffer the key events until the kitten tells us it is ready.
Without this the key presses are delivered to the underlying window
as the kitten's overlay window was not being focused until the kitten
set the ready message.

Fixes #7089
2024-12-12 13:11:12 +05:30
Kovid Goyal
62fbda8c9b When re-attaching a detached tab preserve internal layout state such as biases and orientations
Fixes #8106
2024-12-06 19:54:10 +05:30
Kovid Goyal
512bea3d43 Make cmd finish notification clear behavior configurable 2024-12-05 10:27:30 +05:30
Kovid Goyal
778344a439 Fix enlarging window when a long line is wrapped between the first line of the scrollback buffer and the screen inserting a spurious newline
Fixes #7033
2024-11-27 20:08:27 +05:30
Kovid Goyal
a5f70fbee5 ... 2024-11-27 11:24:27 +05:30
Kovid Goyal
cf2aaaf52f remote_control_password: Fix using a password without any actions not working
Fixes #8082
2024-11-27 01:56:17 +05:30
Kovid Goyal
826a869c96 Cleanup previous PR 2024-11-25 11:33:38 +05:30
Kovid Goyal
4118bfc8ee Change algorithm for y position of dashed/dotted underlines
Make the inner loop faster and ensure that the same logic for y-position
and thickness is used as for the straight underline. Fixes #8074
2024-11-25 11:07:56 +05:30
Kovid Goyal
cb2e1fcd04 Graphics protocol: Fix delete by number not deleting newest image with the specified number
Fixes #8071
2024-11-24 10:11:34 +05:30
Kovid Goyal
ebb733bad0 Wayland: Pass valid UTF-8 as title
When stripping CSI sequences from the title, dont mutilate interleaved
multi-byte UTF-8 sequences.

Fixes #8067
2024-11-24 09:06:46 +05:30
Kovid Goyal
2436c5acfe clipboard kitten: Fix a bug causing kitten to hang in filter mode when input data size is not divisible by 3 and larger than 8KB
Fixes #8059
2024-11-19 11:24:59 +05:30
Kovid Goyal
1ff74b86dc Wayland GNOME: Workaround bug in mutter causing double tap on titlebar to not always work
Fixes #8054
2024-11-18 08:46:17 +05:30
Kovid Goyal
466bc8933a Document how to setup kitty for automatic OS color following 2024-11-07 19:09:18 +05:30
Kovid Goyal
847433dba2 Discard OSC 9 notifications that start with 4;
Some misguided software is using it for "progress reporting". OSC 9 has
a decade plus history of being used for notifications but because
Windows Terminal decided to use it for progress reporting, without
bothering to do research about conflicting existing uses, systemd of all
things wants to adopt it!! Crazy world we live in.

Since actual notifications are highly unlikely to start with 4; we
hopefully don't break any real world use cases and also don't let
systemd spam our users with endless notifications.

Fixes #8011
2024-11-01 20:21:55 +05:30
Kovid Goyal
15b5a9cfbd ... 2024-10-31 10:07:38 +05:30
Kovid Goyal
0b1a2b3fe6 ... 2024-10-31 09:29:42 +05:30
Kovid Goyal
2531c31d02 version 0.37.0 2024-10-30 21:34:51 +05:30
Kovid Goyal
2458aad5b4 Update changelog 2024-10-30 21:29:49 +05:30
Kovid Goyal
8b7cd98a0e When running a kitten that modifies the kitty config file if no config file exists create a commented out default config file and then modify it
Fixes #7991
2024-10-28 14:01:42 +05:30
Kovid Goyal
8bca84ed66 Fix background image flashing when closing a tab
Ensure the correct vertex array object is bound when calling
draw_bgimage. Before this fix it was order dependent on draw calls.

Fixes #7999
2024-10-28 12:30:03 +05:30
Kovid Goyal
ccd2ca88d4 Update changelog 2024-10-25 20:02:54 +05:30
Kovid Goyal
9d1a3e5b44 Fix resizing window when alternate screen is active does not preserve trailing blank output line in the main screen
Fixes #7978
2024-10-19 13:05:31 +05:30
Kovid Goyal
3a939b6a89 Update changelog 2024-10-18 11:51:39 +05:30
Kovid Goyal
d31459b092 tab_title_template allow using the 256 terminal colors for formatting 2024-10-15 11:45:47 +05:30
Kovid Goyal
575538c3f9 icat: Fix --no-trailing-newline not working when using unicode placeholders
Fixes #7948
2024-10-07 10:49:25 +05:30
Kovid Goyal
af83d855de Add a framework for easily and securely using remote control from the main function of a custom kitten 2024-09-29 20:36:12 +05:30
Kovid Goyal
c127517c96 version 0.36.4 2024-09-27 10:20:49 +05:30
Kovid Goyal
6834e366be macOS: Fix a regression in the previous release that caused junk to be rendered in font previews in the choose fonts kitten and crash on Intel macs
Fixes #7892
2024-09-26 01:44:14 +05:30
Kovid Goyal
6f93fb22a4 Update changelog 2024-09-26 00:52:36 +05:30
Kovid Goyal
f48bcb1a17 Wayland GNOME: Fix a crash when using multiple monitors with different scales and starting on or moving to the monitor with lower scale
Fucking GNOME and its fucking lack of support for SSD. How much of my
life I have wasted on these nincompoops.

Fixes #7894
2024-09-26 00:49:04 +05:30
Kovid Goyal
44039baa39 version 0.36.3 2024-09-25 09:34:28 +05:30
Kovid Goyal
c3130419a7 Implement dynamic control of transparent background colors via escape code
Still have to implement it via remote control
2024-09-24 19:02:13 +05:30
Kovid Goyal
6ca187c42c Replace the second_transparent_bg option
This is backwards incompatible, but only for a feature released 3 weeks
ago.
2024-09-24 19:02:13 +05:30
Kovid Goyal
83c989d4e9 Splits layout: Allow setting the split_axis option to auto so that all new windows have their split axis chosen automatically unless explicitly specified in the launch command
Fixes #7887
2024-09-24 14:21:23 +05:30
Kovid Goyal
958ad0d8b4 Remote control: Fix --match=state:self not working 2024-09-24 14:09:27 +05:30
Kovid Goyal
25e255e66f kitten @ ls: Fix the `--self` flag not working
Fixes #7864
2024-09-17 10:39:15 +05:30
Kovid Goyal
7683a5d851 ... 2024-09-15 12:28:23 +05:30
Kovid Goyal
d1bdbddbfc macOS: Fix a regression in the previous release that caused kitty to fail to run after an unclean shutdown/crash
When porting the single instance code to C I forgot to port the lock
file usage.

Fixes #7846
2024-09-15 10:05:18 +05:30
Kovid Goyal
481153318b Fix a regression that broke writing to the clipboard using the OSC 5522 protocol
Fixes #7858
2024-09-15 08:42:50 +05:30
Kovid Goyal
33e4a0f9cc Fix a regression when tinting of background images was introduced that caused window borders to have background_opacity applied to them
Fixes #7850
2024-09-12 21:52:55 +05:30
Kovid Goyal
c166589150 macOS: Fix macos_option_as_alt not working when caps lock is engaged
Fixes #7836
2024-09-09 10:18:04 +05:30
Kovid Goyal
3b8c7f6dd9 macOS: Fix shortcuts that become entries in the global menubar being reported as removed shortcuts in the debug output 2024-09-08 09:48:14 +05:30
Kovid Goyal
b479089619 Fix a regression in the previous release that broke use of the cd command in session files
Fixes #7829
2024-09-06 14:50:15 +05:30
Kovid Goyal
15ac33a058 version 0.36.2 2024-09-06 08:09:44 +05:30
Kovid Goyal
8eb0b556b7 diff kitten: Fix a regression that broke diffing against remote files
Fixes #7797
2024-08-28 11:00:42 +05:30
Kovid Goyal
fdc3c3d7c1 kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
7a4f0318ed Remote control: When listening on a UNIX domain socket only allow connections from processes having the same user id
Fixes #7777
2024-08-26 19:07:18 +05:30
Kovid Goyal
0594033b31 Wayland: Move creation of OpenGL context to end of window creation function
Apparently with explicit sync it is now not possible to attach a
temporary buffer to a surface that also has an OpenGL context. So we
first attach the temporary buffer, and only after we are done waiting
for window creation do we attach the OpenGL context to the window
surface.

Fixes #7767 (maybe, not installing sway-git to check)
2024-08-26 15:36:27 +05:30