115 Commits

Author SHA1 Message Date
Kovid Goyal 68eee50aee Make scrollbar wider when mouse hovers over it 2025-09-14 19:20:10 +05:30
Kovid Goyal 80260e6eb1 Move back to individual settings for scrollbar
We need to split out the color settings so that they can be set in
themes anyway, so ...
2025-09-14 17:48:59 +05:30
Kovid Goyal 77e22523ec Start work on consolidating scrollbar settings into one option 2025-09-14 12:14:27 +05:30
Aleksey Smolenchuk 65a4d89282 Interactive scrollbar implementation 2025-09-08 11:33:15 -07:00
Kovid Goyal cbca4d6593 Implement tab_bar_filter
Useful to manage multiple sessions in a single kitty OS Window.
Add some docs to sessions.rst describing this use case.
2025-08-24 12:25:15 +05:30
Kovid Goyal 063cf243c1 add cursor_trail_color to nullable_colors and all_color_settings 2025-07-19 07:03:13 +05:30
CollinEMac 7021271e81 Add cursor trail color option 2025-07-17 00:35:31 -05:00
Kovid Goyal 4c8f9f9e26 Cleanup previous PR
Fixes #8601
2025-05-12 22:18:41 +05:30
Your Name 33167f2057 Change mouse_hide_wait to struct, and change mouse_show_* options to optional parameters for struct. mouse_show_* renamed to mouse_unhide_* 2025-04-04 11:22:56 +00:00
Your Name 464446e388 Prevent mouse cursor from showing on short, unintentional flicks 2025-04-04 04:33:47 +00:00
Kovid Goyal 80db9b4734 Merge branch 'min-contrast-ratio' of https://github.com/arne314/kitty 2025-03-19 21:02:29 +05:30
arne314 e1b454e49e fix: generate config min contrast 2025-03-15 13:35:32 +01:00
arne314 40ef6b4f37 config: number with unit for min contrast ratio 2025-03-14 14:05:34 +01:00
Kovid Goyal 96d5c9c7c6 A new option to clear selections when they no longer reflect the contents of the clipboard 2025-03-12 11:41:27 +05:30
Kovid Goyal 370723b47b Do not count background processes by default for confirm_os_window_close
Fixes #8358
2025-03-09 20:07:57 +05:30
Kovid Goyal 2a714928db When dragging in rectangle select mode use a crosshair mouse cursor 2025-02-23 10:32:54 +05:30
Kovid Goyal fb54f1527f Update type signatures generated by gen/config.py 2025-02-11 22:22:57 +05:30
Kovid Goyal da1626090a Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +05:30
Kovid Goyal 81a5f29979 Option to control underline exclusion 2025-02-03 10:56:46 +05:30
Kovid Goyal 865aa4bc24 Cleanup cursor_trail threshold option name and documentation 2024-10-27 13:44:33 +05:30
Rick Choi f3de97f6d0 expose option cursor_trail_distance_threshold 2024-10-27 13:02:35 +09:00
Kovid Goyal 463c759bfb Allow changing the cursor trail threshold time independently of input_delay 2024-10-18 11:09:03 +05:30
Rick Choi 2bd008f8ca expose cursor_trail options 2024-10-13 21:10:20 +09:00
Kovid Goyal dbfeb8d6a4 Store transparent colors on ColorProfile
This will eventually allow them to be changed using remote control and
escape codes.
2024-09-24 19:02:13 +05:30
Kovid Goyal e78e86572e Prepare for allowing upto seven additional semi-transparent background colors 2024-09-24 19:02:13 +05:30
Kovid Goyal de21e5e488 Implement filtering of desktop notifications
Fixes #7670
2024-07-28 08:41:24 +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 43769bc3e0 Allow controlling the easing curves used for the visual bell 2024-07-19 11:35:00 +05:30
Kovid Goyal f090c9a895 Code to convert easing functions from Python to C 2024-07-18 22:25:02 +05:30
Kovid Goyal ac712f5d2d ... 2024-06-24 07:54:20 +05:30
Kovid Goyal 060732b428 work on passing font features via font specs 2024-06-24 07:54:18 +05:30
Kovid Goyal 6e3c9856d1 Wire up parsing of font specs 2024-06-24 07:53:16 +05:30
Kovid Goyal 68649d78df Cleanup previous PR 2024-06-15 06:12:31 +05:30
n0pl4c3 1968d0b8e0 Implemented option to change cursor shape in unfocused window 2024-06-14 23:02:34 +02:00
aki 4d8b34cab8 change window_logo_scale to float, add granular xy scaling options to window_logo_scale 2024-06-13 23:33:28 +09:00
aki 56fc4eddbd add option to scale window_logo via window_logo_scale 2024-06-12 21:29:04 +09:00
Johannes Wüller 7c8660a694 Extend placement_stragegy options
placement_strategy previously only accepted 'center' and 'top-left', but
others are potentially useful too. I personally like 'bottom-left'. The
new set of accepted values mirrors the window_logo_position option.
2024-05-08 16:33:04 +02:00
Kovid Goyal 2c4ffba0f3 Wayland: A new option to turn off IME 2024-04-05 14:56:11 +05:30
Kovid Goyal 700b57bc18 Implement a simple scroll progress indicator
Shows a simple bar on the right edge of the window that moves up as you
scroll further back. There are apparently a lot of people that dont use
a pager for browsing large scrollbacks. I will never understand this,
but, what the hell I was in that code area anyway for other reasons.

TODO: Maybe make it a rounded rectangle
2024-03-28 20:33:35 +05:30
Kovid Goyal 198b69e275 An option to set TERMINFO to the database directly instead of a path 2024-03-21 10:48:53 +05:30
Kovid Goyal 04506975e5 Cleanup previous PR 2023-11-14 14:55:43 +05:30
Jin Liu 24bb28b773 Allow sending notification when a command finishes
When the option `notify_on_command_finish` is set, and a command
takes more than `notify_on_command_finish_min_duration` seconds
to execute, then when it finishes, send a desktop notification.

The value of `notify_on_command_finish` can be:
never | unfocused | invisible | always
the latter three are interpreted the same way as in the `o=` option
of the desktop notification protocol.
2023-11-14 16:46:38 +08:00
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
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 9375e671bc dedup choice literals 2023-10-15 10:10:05 +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 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 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
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 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