Commit Graph

373 Commits

Author SHA1 Message Date
Kovid Goyal
995112d952 Add non-interactive options for paste sanitization 2023-11-04 07:34:46 +05:30
Kovid Goyal
a54586dfa9 Add a note about dynamic config reload behavior of underline_hyperlinks 2023-11-03 09:12:17 +05:30
Kovid Goyal
b4f88b4f81 A new option to control when hyperlinks are underlined
While kitty is never going to underline detected URLs as the performance
of that is absurd, underlining hyperlinks specifically is acceptable,
since they dont require detection.

See #6766
2023-11-03 08:51:58 +05:30
joveian
4d085a00e1 Warn of possible graphics issues with text_fg_override_threshold
Issue #6767
2023-10-30 09:04:27 -07:00
Kovid Goyal
defa2e29ac Always ask for confirmation when pasting text with control codes in it 2023-10-20 13:02:28 +05:30
Kovid Goyal
4b997a961c A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
2023-10-20 08:37:45 +05:30
Kovid Goyal
1332cf8ac7 Create an easy to use alias for running remote control scripts 2023-10-18 20:29:50 +05:30
Kovid Goyal
187fa996f8 Add the cell pointer shape 2023-10-16 20:33:12 +05:30
Kovid Goyal
e15b16b072 Mention behavior of focus_follows_mouse in docs on macOS 2023-10-15 14:25:16 +05:30
Kovid Goyal
9375e671bc dedup choice literals 2023-10-15 10:10:05 +05:30
Kovid Goyal
0e11174aa5 We require python 3.8 so no need to guard typing.Literal 2023-10-15 09:58:19 +05:30
Kovid Goyal
4f1971c480 Rationalize mouse cursor shape handling
Now can use the full range of standard mouse cursor shapes similar to
those supported by browsers via the CSS cursor property.

Still needs to be fully implemented for cocoa backend.
2023-10-15 09:17:31 +05:30
Kovid Goyal
73bc6e4bfc ... 2023-10-10 06:10:19 +05:30
Kovid Goyal
b78264183f Centralize freeing of opts object allocs 2023-10-10 06:08:28 +05:30
Kovid Goyal
f73d32e15d A new option menu_map that allows adding entries to the global menubar on macOS 2023-10-09 19:47:25 +05:30
Kovid Goyal
726d4ca9bc Typecheck map_type 2023-10-09 11:56:25 +05:30
Kovid Goyal
805bc499ee Fix documentation of word_and_line_from_point 2023-10-06 10:01:24 +05:30
Eric Myhre
d310acc780 Add word-and-line-from-point feature to possible mouse selection actions. 2023-10-05 17:47:53 +02:00
Kovid Goyal
d96fdb80ed Shell integration now aliases sudo to make the kitty terminfo db available in the sudo environment
This should make terminfo completely transparent for most users on the
local machine and on remote machines that are connected to with the ssh
kitten.
2023-09-24 13:35:29 +05:30
Kovid Goyal
76c6f91685 Expand environment variables in the shell option
See #6511 for discussion
2023-09-24 08:28:42 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
c94cfdbf65 ... 2023-09-18 18:47:32 +05:30
Kovid Goyal
0fe4d6462b ... 2023-08-25 09:01:07 +05:30
Kovid Goyal
c49d71f85b Allow more chars in visual_window_select_characters
Fixes #6554
2023-08-16 20:38:10 +05:30
Kovid Goyal
cba8b0a1dd ... 2023-08-15 09:18:00 +05:30
Kovid Goyal
6c7a8f8fa9 Ensure usage of __attribute__(cleanup) never frees un-initialized memory
Use macros that take an initializer parameter to, thereby ensuring the
variable to be cleaned up is always initialized.
2023-08-07 12:24:18 +05:30
Kovid Goyal
bde4a41ed4 Remote control: Allow using a random TCP socket as the remote control socket and also allow using TCP sockets in kitty.conf 2023-08-04 11:12:31 +05:30
Kovid Goyal
59b47a3a8f A facility to easily have child programs print to kitty stdout
Works better than the kitty-print DCS escape code as that tends to get
interleaved with other writes to the tty since the loop infrastructure
writes in a separate I/O thread.
2023-07-30 19:49:44 +05:30
Kovid Goyal
5c786c96e1 ... 2023-07-30 19:49:38 +05:30
Kovid Goyal
dcdc676719 ... 2023-07-21 12:46:06 +05:30
Yang Tang
38decaae40 Fix typo in option definitions 2023-07-14 01:16:26 -04:00
Kovid Goyal
94e2aeb38c ... 2023-07-14 06:49:28 +05:30
Kovid Goyal
d4f9d22c92 Have ctrl_l clear the current prompt line so it is not saved in the scrollback 2023-07-13 22:01:27 +05:30
Kovid Goyal
4a039a45ec Fix the save and clear ctrl+l zsh example 2023-07-13 21:49:25 +05:30
Kovid Goyal
d218040d26 A new value for background_image_layout to scale the background image while preserving its aspect ratio.
Also have centered images work even for images larger than the window size
Fixes #6458
2023-07-13 21:33:58 +05:30
Konstantin Borisov
ee4a9c6ed8 fixed CENTER_CLAMPED to center images bigger than view, added CENTER_SCALED background image layout option 2023-07-13 21:26:25 +05:30
Kovid Goyal
5f8610f7bc macOS: Add a new value titlebar-and-corners for :opt:hide_window_decorations that emulates the behavior of hide_window_decorations yes in older versions of kitty 2023-07-11 22:27:47 +05:30
Kovid Goyal
66a2efd191 Add a note about titlebar-only and rounded corners 2023-07-05 10:56:46 +05:30
Kovid Goyal
d3f14ffbf4 macOS: Fix window shadows not being drawn for transparent windows
Re-organize the whole infrastructure for setting window chrome, doing it
in a single function that has access to all settings.

Fixes #2827
Fixes #6416
2023-07-04 11:59:50 +05:30
Kovid Goyal
7c6d40fa0c Implement background blur for KDE on X11 as well 2023-06-27 14:56:35 +05:30
Kovid Goyal
7a1bdb4ff1 macOS: Implement background blurring
Uses a private API that allows us to control the amount of blurring.
While using a private API is obviously not ideal, it is used by both
iTerm.app and Apple's own Terminal.app, so hopefully it should stick
around. Fixes #6135
2023-06-27 08:48:16 +05:30
Kovid Goyal
4ac5b8f82f Fix text_fg_override_threshold not working with multi-pass rendering
This has the side-effect of also applying the same luminance based gamma
adjustment for multipass rendering as we do for single pass rendering.
This *may* make things look worse with very low background_opacity
values, since in such cases the actual background color can be quite
different from the background color we are adjusting against.
2023-06-24 08:32:03 +05:30
Kovid Goyal
40f3f4a31a Reduce the default dim_opacity
The new value works better with the text rendering system introduced in
0.28. Fixes #6380
2023-06-22 20:45:04 +05:30
olzhasar
d0a5d1b3a4 Fix misspellings 2023-06-14 03:39:53 +06:00
Kovid Goyal
cd56597e7e Remove the resize_draw_strategy option
Use scale + size as the fixed strategy. This is because static looks
bad with translucent windows (the cell area ends up a different opacity
than the newly exposed window area).
2023-06-07 15:36:05 +05:30
Kovid Goyal
89875af5e6 Fix jerky behavior when live resizing an OS window on platforms that report live resize being and end events
Also disable live resize begin/end events on Wayland since they are not
reliable.

On platforms that support live resize begin/end use a separately
configurable pause time before the screen is redrawn.

Fixes #6341
2023-06-07 14:31:39 +05:30
Kovid Goyal
d3fc8a2897 Remove a bunch of option processing code and directly define the threshold in the shader 2023-05-24 21:23:39 +05:30
Kovid Goyal
c3242453bd ... 2023-05-24 21:11:06 +05:30
Kovid Goyal
b0b65c452e Fix fg threshold not applying when using legacy text composition
Also note that it does not work with multi-pass rendering.
2023-05-24 21:02:00 +05:30
Kovid Goyal
b45d7ae21f Dont require restart to change text_fg_override_threshold from zero to non-zero 2023-05-24 13:50:19 +05:30