Commit Graph

15481 Commits

Author SHA1 Message Date
Kovid Goyal
cf6bb29ef7 Start work on width testing kitten 2025-04-11 09:34:21 +05:30
Kovid Goyal
5798d29609 ... 2025-04-11 09:34:21 +05:30
Kovid Goyal
3e0c5c5a1a ... 2025-04-11 09:34:21 +05:30
Kovid Goyal
c03dd673ae Restore fast path for printable ASCII 2025-04-11 09:34:21 +05:30
Kovid Goyal
3f919cbc56 Specify the algorithm for splitting text into cells 2025-04-11 09:34:21 +05:30
Kovid Goyal
b32a5492c5 Add test for wrap with combining char 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
2cad589f1c Add tests for combining at screen edge 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
49092f5a94 Add new wayland top level state enum values 2025-04-09 19:23:27 +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
f918ecce28 Merge branch 'dependabot/go_modules/all-go-deps-6138b4a724' of https://github.com/kovidgoyal/kitty 2025-04-07 09:23:23 +05:30
dependabot[bot]
71f1e95f72 Bump the all-go-deps group with 3 updates
Bumps the all-go-deps group with 3 updates: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma), [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `github.com/alecthomas/chroma/v2` from 2.15.0 to 2.16.0
- [Release notes](https://github.com/alecthomas/chroma/releases)
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml)
- [Commits](https://github.com/alecthomas/chroma/compare/v2.15.0...v2.16.0)

Updates `golang.org/x/image` from 0.25.0 to 0.26.0
- [Commits](https://github.com/golang/image/compare/v0.25.0...v0.26.0)

Updates `golang.org/x/sys` from 0.31.0 to 0.32.0
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
  dependency-version: 2.16.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/image
  dependency-version: 0.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 03:48:25 +00:00
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
7e3e567916 Dont use subTest as it doesnt work with retry_on_failure 2025-04-07 05:22:15 +05:30
Kovid Goyal
ac4c12b3e1 Add variable sized text to the list of things multiplexers break 2025-04-07 04:53:04 +05:30
Kovid Goyal
2c078d9d6f ... 2025-04-07 04:50:51 +05:30
Kovid Goyal
f578e8d25b Cleanup various test related things 2025-04-07 04:41:19 +05:30
Kovid Goyal
1d798afd1c Update diff kitten keybinding docs 2025-04-06 10:57:43 +05:30
Kovid Goyal
4b4bfca007 ... 2025-04-06 09:16:42 +05:30
Kovid Goyal
04acd6cec2 Update changelog 2025-04-06 09:11:05 +05:30
Kovid Goyal
7c9f1e059b Merge branch 'bilbofroggins-patch-1' of https://github.com/bilbofroggins/kitty 2025-04-06 09:08:42 +05:30
bilbofroggins
2d462b40b7 Update ui.go 2025-04-05 19:24:17 -04:00
bilbofroggins
fd14e103ef Update main.py 2025-04-05 19:21:38 -04:00
Kovid Goyal
55ac94e834 fix typo 2025-04-05 13:51:12 +05:30
Kovid Goyal
38a2c6eab0 Cleanup previous PR 2025-04-05 09:22:10 +05:30
Kovid Goyal
08eb0aca82 Merge branch 'fix-reproducibility' of https://github.com/3pleX-dev/kitty 2025-04-05 09:16:19 +05:30
3pleX-dev
1d93982424 fix reproducibility issues 2025-04-05 01:27:23 +01:00
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
4c28200cab Separate out the control chars when generating benchmark data 2025-04-03 09:33:55 +05:30
Kovid Goyal
e0efdaa3f0 ... 2025-04-03 09:26:04 +05:30
Kovid Goyal
f56c3edd72 version 0.41.1 v0.41.1 2025-04-03 07:54:35 +05:30
Kovid Goyal
42ab460db3 Only include -fno-plt if the compiler supports it 2025-04-02 11:12:07 +05:30
Kovid Goyal
6712169c0f ... 2025-04-01 17:18:11 +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
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