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
557e6547f2
...
2025-04-01 13:31:20 +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
de1adeee5e
DRYer
2025-03-31 22:01:49 +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
Kovid Goyal
6200084ab3
Merge branch 'dependabot/go_modules/all-go-deps-77e6847a94' of https://github.com/kovidgoyal/kitty
2025-03-31 08:57:03 +05:30
dependabot[bot]
ac9e3de682
Bump github.com/seancfoley/ipaddress-go in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [github.com/seancfoley/ipaddress-go](https://github.com/seancfoley/ipaddress-go ).
Updates `github.com/seancfoley/ipaddress-go` from 1.7.0 to 1.7.1
- [Release notes](https://github.com/seancfoley/ipaddress-go/releases )
- [Commits](https://github.com/seancfoley/ipaddress-go/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/seancfoley/ipaddress-go
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-31 03:06:30 +00:00
Kovid Goyal
6f006c0f32
Merge branch 'fix_codeblock' of https://github.com/dmitrii-galantsev/kitty
2025-03-31 08:32:21 +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
2eed7b62ab
More work on seg lookup tables
2025-03-29 09:35:44 +05:30
Kovid Goyal
d9d483d2c1
More work on segmentation lookup table
2025-03-29 08:49:52 +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
v0.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
07f30122e6
test: Add more tests for cmd paging edge cases
2025-03-28 22:38:18 +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
Kovid Goyal
01cdfcd002
Work on table based lookup for grapheme segmentation
2025-03-28 15:06:48 +05:30
Kovid Goyal
56b49c49fb
...
2025-03-28 11:49:47 +05:30
Kovid Goyal
5d43ffe3d9
Add a para on buggy monospaced fonts to the FAQ
2025-03-28 10:40:33 +05:30
Kovid Goyal
f72a8183f9
Merge branch 'danny/added-warp-to-list' of https://github.com/dannyneira/kitty
2025-03-28 07:17:54 +05:30
danny neira
dc759e6a07
updated list of other terminals that support kitty image protocol
2025-03-27 17:16:45 -06:00
Kovid Goyal
f1b90f6ce6
Update changelog
2025-03-27 11:29:01 +05:30
Kovid Goyal
9e1601a9b5
Nicer way to include grapheme test data in Go tests
2025-03-27 03:20:27 +05:30
Kovid Goyal
e76daa3736
Fix failing go vet in CI
2025-03-27 02:51:26 +05:30
Kovid Goyal
7807e51e65
...
2025-03-26 22:06:17 +05:30
Kovid Goyal
f058c597ae
Dont rely on hard links
2025-03-26 21:59:24 +05:30
Kovid Goyal
305c1a25c5
More robust fetching of grapheme break test data in Go test
2025-03-26 21:56:52 +05:30
Kovid Goyal
2aa2607adc
...
2025-03-25 17:13:54 +05:30
Kovid Goyal
3e50588525
Add a test for PUA recog
2025-03-25 16:52:01 +05:30
Kovid Goyal
fd2bbf57e3
Make unicode category data useable in other modules
2025-03-25 16:35:09 +05:30
Kovid Goyal
294de16898
Use ms table for remaining UCD lookups
2025-03-25 15:41:34 +05:30
Kovid Goyal
aad58cf703
Declare CharProps just once
2025-03-25 14:08:47 +05:30
Kovid Goyal
d429f732e1
DRYer
2025-03-25 13:45:56 +05:30
Kovid Goyal
61ae12e0a9
DRYer
2025-03-25 13:29:11 +05:30
Kovid Goyal
b66a763ddf
Use a 3 stage table for Unicode properties
...
Halves the data size and reduces source code size by 50x
Shows no significant runtime performance effect.
Allows for easily adding more properties to the table in the future
2025-03-25 13:16:59 +05:30
Kovid Goyal
b8dc31930a
...
2025-03-24 16:15:57 +05:30
Kovid Goyal
26c6b3034f
...
2025-03-24 15:18:41 +05:30
Kovid Goyal
9f7643078c
Use unicode multi-table for remaining hot path lookups
...
Results in a 15% improvement in the unicode throughput benchmark
2025-03-24 15:04:33 +05:30
Kovid Goyal
2c0bc79be1
Typo causing crash on Waylnd compositors that dont support xdg-toplevel-icon
...
Fix #8471
2025-03-24 14:23:32 +05:30
Kovid Goyal
3d0e45ace8
Use the new multi-stage unicode table for wcwidth
2025-03-24 14:20:40 +05:30
Kovid Goyal
7697a1650d
Add is_emoji_presentation_base to char props table
2025-03-24 13:55:49 +05:30