8272 Commits

Author SHA1 Message Date
Kovid Goyal
6d826c37b9 More work on floats 2025-04-19 08:15:53 +05:30
Kovid Goyal
e3fa7fc60e Wire up drawing code for floats 2025-04-18 09:21:17 +05:30
Kovid Goyal
77d2159d3f Ensure all windows in OS Window are destroyed when OS Window is closed 2025-04-16 17:21:58 +05:30
Kovid Goyal
da753c3f5a DRYer 2025-04-16 17:11:15 +05:30
Kovid Goyal
d8889a2f08 Serialize floats 2025-04-16 17:06:06 +05:30
Kovid Goyal
14ff29426d Track child relationships directly in python for performance 2025-04-16 16:46:18 +05:30
Kovid Goyal
a93a6af025 Allow creating float-in-float 2025-04-16 16:18:38 +05:30
Kovid Goyal
d5398f84d8 Function to add a floating window 2025-04-16 16:18:38 +05:30
Kovid Goyal
08d90db4c4 Start work on floating windows 2025-04-16 16:18:38 +05:30
Kovid Goyal
ef2713a5bd ... 2025-04-16 16:15:02 +05:30
Kovid Goyal
923b04d124 clarify wording 2025-04-16 15:57:59 +05:30
Kovid Goyal
5d2e258c35 Wayland: When the compositor supports the xdg-system-bell protocol use it to play the default bell sound 2025-04-16 15:48:51 +05:30
Kovid Goyal
97445818ca make mypy happy 2025-04-12 14:00:23 +05:30
Kovid Goyal
56954b2e48 Fix a regression that caused automatic color themes to not be re-applied after config file reload
The reload was only happening if the auto theme config file had its mtime
updated, since the last time it was checked.

Fixes #8530
2025-04-12 13:48:27 +05:30
Kovid Goyal
c03dd673ae Restore fast path for printable ASCII 2025-04-11 09:34:21 +05:30
Kovid Goyal
c01a941fe7 Get the unicode grapheme seg tests passing on screen, with minimal modification
We ignore tests including ACII control codes and we modify the results
when there are grapheme breaks before zero width characters.
2025-04-11 09:34:21 +05:30
Kovid Goyal
e976cf67fd Make GraphemeBreakProperty available globally 2025-04-11 09:34:21 +05:30
Kovid Goyal
203e9f6c58 Port wcswidth to use grapheme segmentation 2025-04-11 09:34:21 +05:30
Kovid Goyal
4c2bd8ffb1 Implement zero width roundtripped chars in multicell segmentation as well 2025-04-11 09:34:21 +05:30
Kovid Goyal
f5e8de2e4f Implement grapheme segmentation in the terminal layer 2025-04-11 09:34:21 +05:30
Kovid Goyal
167e6e73f7 Fix #8529 2025-04-11 09:33:52 +05:30
Kovid Goyal
d1938cb060 Fix failing test 2025-04-08 13:07:59 +05:30
Kovid Goyal
adc9b3f6cf When issuing a DECRPSS report for SGR use a leading 0
This matches historical DEC terminal behavior.
2025-04-08 09:15:31 +05:30
Kovid Goyal
a9e155cb3e Merge branch 'upstream' of https://github.com/irisjae/kitty 2025-04-07 07:58:46 +05:30
Your Name
d1c61f52db Fix mouse cursor unhiding logic to reset on mouse being hidden 2025-04-07 02:14:42 +00:00
Kovid Goyal
55ac94e834 fix typo 2025-04-05 13:51:12 +05:30
Kovid Goyal
3d440cf0f6 Cleanup previous PR 2025-04-05 02:42:39 +05:30
Kovid Goyal
738d692563 Merge branch 'upstream' of https://github.com/irisjae/kitty 2025-04-05 02:33:01 +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
b0371d970f Micro optimization 2025-04-03 17:23:43 +05:30
Kovid Goyal
251ec3419b When in alternate screen and using margins, index selections more intelligently, gives slightly nicer behavior with multiplexer horizontal panes. 2025-04-03 17:22:25 +05:30
Kovid Goyal
f56c3edd72 version 0.41.1 2025-04-03 07:54:35 +05:30
Kovid Goyal
057dde35a7 Use a two stage lookup table for segmentation
Saves one extra array lookup at no cost in size
2025-04-01 14:25:24 +05:30
Kovid Goyal
d4d2ae969e Use a branchless check for unicode range 2025-04-01 12:32:17 +05:30
Kovid Goyal
6ecd78d9db Remove bounds checking for unicode table access in Go 2025-04-01 10:41:17 +05:30
Kovid Goyal
66856e7b52 Use a multi-stage lookup table for grapheme segmentation 2025-03-31 21:51:28 +05:30
Kovid Goyal
72a1aabafd Fix hover underline remaining on screen when screen is scrolled 2025-03-31 10:47:25 +05:30
Kovid Goyal
d567e31d57 ... 2025-03-31 10:45:11 +05:30
Galantsev, Dmitrii
4a8824c10e Fix bad code block formatting in docs
I noticed that
<https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.text_fg_override_threshold>
said ':code:` ratio`' instead of being formatted as code. I assume
that's because of a space after `.

Fixed 2 cases where I found the issue.
Added a simple code block check to CI.

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2025-03-30 17:48:12 -05:00
Kovid Goyal
c0f5170fc3 Fix ranged_line_is_continued depending on scrolled_by 2025-03-30 20:27:11 +05:30
Kovid Goyal
3c57cc02f7 Wayland: panel kitten: Fix incorrect initial font size on compositors such as Hyprland that set scale late in the window creation process
Fixes #8496
2025-03-30 16:19:52 +05:30
Kovid Goyal
ac2b1fbe0b Fix a regression that caused tab bar margins to not be properly blanked when the tab bar is at the bottom
Fixes #8494
2025-03-30 11:10:03 +05:30
Kovid Goyal
163b3de85b Also forgot to add non-characters to invalid class 2025-03-30 10:44:26 +05:30
Kovid Goyal
a5a25fbd8c Fix missed out some codepoints when porting is_non_rendered to unicode lookup table
Fixes #8495
2025-03-30 10:40:19 +05:30
Kovid Goyal
31345cc0b0 Merge branch 'cmd-output-paging-pr-fixup' of https://github.com/rivenirvana/kitty 2025-03-29 05:30:13 +05:30
Kovid Goyal
26747284bb version 0.41.0 2025-03-29 04:57:55 +05:30
Arvin Verain
6d75f7cff4 test: Add method to easily set last_visited attributes 2025-03-28 22:38:19 +08:00
Arvin Verain
59f134d511 fix: Edge case when paging from a line within output
When OUTPUT_START is already past scrollback and can't be
found upwards, properly handle the first prompt encountered
to capture the correct command output to be paged.
2025-03-28 22:38:16 +08:00
Arvin Verain
80d7da0902 fix: Edge case when paging from a line within prompt
When PROMPT_START is already past scrollback and can't be
found upwards, set the proper values depending on if the
search is over or deferred downwards.
2025-03-28 22:38:08 +08:00