Commit graph

14791 commits

Author SHA1 Message Date
Kovid Goyal
7dc6a6a660
Document the miscellaneous protocol extensions kitty uses 2024-11-19 11:51:21 +05:30
Kovid Goyal
2436c5acfe
clipboard kitten: Fix a bug causing kitten to hang in filter mode when input data size is not divisible by 3 and larger than 8KB
Fixes #8059
2024-11-19 11:24:59 +05:30
Kovid Goyal
4cb190130f
Document why we explicitly turn off in band resize 2024-11-19 08:08:35 +05:30
Kovid Goyal
5955284cbf
Merge branch 'reset-2048' of https://github.com/rockorager/kitty 2024-11-19 08:08:31 +05:30
Tim Culverhouse
4b354fbd30 tui: explicitly turn off in-band resize mode
Explicitly turn off in-band resize notifications if they were requested
as part of the loop. Kitty implicitly resets this mode when `XTRESTORE`
(`CSI ? r`) is seen, however some terminals implementing mode 2048
(eg foot and Ghostty) follow the xterm behavior of only restoring the
state of explicitly passed modes.

Some of the kittens have become very useful outside of just Kitty
(`show-key`, for example). Add an explicit reset of mode 2048 to support
the behavior of other terminal emulators.
2024-11-18 10:51:14 -06:00
Kovid Goyal
1ff74b86dc
Wayland GNOME: Workaround bug in mutter causing double tap on titlebar to not always work
Fixes #8054
2024-11-18 08:46:17 +05:30
Kovid Goyal
4f6ca36bc2
Mention another terminal PDF viewer that uses the kitty graphics protocol 2024-11-12 09:35:51 +05:30
Kovid Goyal
97e4625a82
... 2024-11-12 09:29:17 +05:30
Kovid Goyal
6d5a2b8ecd
Add a test that exercises the text_cache in Line code path 2024-11-12 09:16:45 +05:30
Kovid Goyal
6f5789fcd0
Couple more places where we initialized Line without TextCache 2024-11-12 09:08:42 +05:30
Kovid Goyal
a014b4e76a
Fix #8044 2024-11-12 09:04:08 +05:30
Kovid Goyal
19cb15811f
Merge branch 'fix-spelling' of https://github.com/FireIsGood/kitty 2024-11-11 09:37:10 +05:30
FireIsGood
ef980e0bce
Fix config spelling errors 2024-11-10 19:49:33 -08:00
Kovid Goyal
f2e41b2283
Merge branch 'dependabot/go_modules/all-go-deps-1844b1ebac' of https://github.com/kovidgoyal/kitty 2024-11-11 08:49:04 +05:30
dependabot[bot]
1d390b70e2
Bump the all-go-deps group with 2 updates
Bumps the all-go-deps group with 2 updates: [golang.org/x/image](https://github.com/golang/image) and [golang.org/x/sys](https://github.com/golang/sys).


Updates `golang.org/x/image` from 0.21.0 to 0.22.0
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.0)

Updates `golang.org/x/sys` from 0.26.0 to 0.27.0
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 03:12:28 +00:00
Kovid Goyal
af8605dabf
bump unicode version to 16 2024-11-10 09:03:52 +05:30
Kovid Goyal
38607369aa
... 2024-11-09 07:54:55 +05:30
Kovid Goyal
0356f28576
Fix #8031 2024-11-08 07:26:32 +05:30
Kovid Goyal
466bc8933a
Document how to setup kitty for automatic OS color following 2024-11-07 19:09:18 +05:30
Kovid Goyal
96c1a5c4d1
Get automatic theme switching working 2024-11-07 17:31:44 +05:30
Kovid Goyal
e485b3b4a3
Code to allow users to create dark and light themes that are automatically applied when the OS color scheme changes 2024-11-07 13:52:49 +05:30
Kovid Goyal
36074eabc8
Make code to parse color specs and patch options objects re-useable 2024-11-07 13:14:33 +05:30
Kovid Goyal
b0ebd340fe
Function to get the current system color theme 2024-11-07 12:47:06 +05:30
Kovid Goyal
239e08f268
When reading desktop settings from the portal provide a list of supported namespaces
The wlr portal doesnt work with an empty list. Sigh.
2024-11-07 11:10:27 +05:30
Kovid Goyal
754288557d
Track initial color scheme preference read on Linux 2024-11-07 10:38:13 +05:30
Kovid Goyal
27cf969a64
Proper error output 2024-11-07 09:35:26 +05:30
Kovid Goyal
6ad9f6fd40
... 2024-11-07 09:34:10 +05:30
Kovid Goyal
c3c63d3a1e
Add a load event for watchers 2024-11-07 09:31:26 +05:30
Kovid Goyal
525dd56aae
Merge branch 'patch-1' of https://github.com/dontlaugh/kitty 2024-11-07 09:01:39 +05:30
Coleman McFarland
b9d820884b
Fix a typo in overview.rst 2024-11-06 21:12:53 -05:00
Kovid Goyal
33ab1d9019
Reduce size of LineAttrs from 4 bytes to 1 byte 2024-11-04 09:10:08 +05:30
Kovid Goyal
e54a761768
Micro-optimization
Use 31 bits for the index rather than 32bits.
2024-11-04 09:10:08 +05:30
Kovid Goyal
bacfb436e9
Code to run the benchmark kitten headlessly 2024-11-04 09:10:08 +05:30
Kovid Goyal
0f7878f1e9
Let the compiler use a register for blanking cpu cells when drawing text 2024-11-04 09:10:08 +05:30
Kovid Goyal
aae50f9a99
... 2024-11-04 09:10:08 +05:30
Kovid Goyal
8dd6686c86
Fix bug pointed out by ASAN 2024-11-04 09:10:08 +05:30
Kovid Goyal
d88b7e945a
Port the CoreText backend to use ListOfChars 2024-11-04 09:10:07 +05:30
Kovid Goyal
5e36e0a324
Fix text_at 2024-11-04 09:10:07 +05:30
Kovid Goyal
30f4441fe5
Fix line_as_ansi 2024-11-04 09:10:07 +05:30
Kovid Goyal
016519a868
Remove the 4KB mac chars limit in unicode_in_range 2024-11-04 09:10:07 +05:30
Kovid Goyal
9d4818e58b
Speed up unicode_in_range 2024-11-04 09:10:07 +05:30
Kovid Goyal
7ff7947ab3
Fix cell_as_unicode 2024-11-04 09:10:07 +05:30
Kovid Goyal
1481fb4fe9
Dont generate mark mapping 2024-11-04 09:10:07 +05:30
Kovid Goyal
cabd6c0589
Initial port of code to use TextCache 2024-11-04 09:10:07 +05:30
Kovid Goyal
f6347ee1e2
Move more declarations out of data-types.h 2024-11-04 09:10:07 +05:30
Kovid Goyal
5a2440eb97
Make the TextCache object available in the Screen, LineBuf and Line objects 2024-11-04 09:10:07 +05:30
Kovid Goyal
05120061cc
Move various data types into their own headers 2024-11-04 09:10:07 +05:30
Kovid Goyal
089fc25e74
Use a single alloc per LineBuf (apart from the Line object) 2024-11-04 09:10:07 +05:30
Kovid Goyal
f2d60d6a4e
Use Python's builtin machinery to prevent creation of Line objects 2024-11-04 09:10:07 +05:30
Kovid Goyal
8f2b722dd7
Refactor LineBuf consructor to make it more re-useable 2024-11-04 09:10:07 +05:30