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
Kovid Goyal
c572adf677
Start work on allowing unlimited codepoints per cell
...
This is needed to properly support zero-width joiner based emoji
sequences.
2024-11-04 09:10:07 +05:30
Kovid Goyal
847433dba2
Discard OSC 9 notifications that start with 4;
...
Some misguided software is using it for "progress reporting". OSC 9 has
a decade plus history of being used for notifications but because
Windows Terminal decided to use it for progress reporting, without
bothering to do research about conflicting existing uses, systemd of all
things wants to adopt it!! Crazy world we live in.
Since actual notifications are highly unlikely to start with 4; we
hopefully don't break any real world use cases and also don't let
systemd spam our users with endless notifications.
Fixes #8011
2024-11-01 20:21:55 +05:30
Kovid Goyal
15b5a9cfbd
...
2024-10-31 10:07:38 +05:30
Kovid Goyal
0b1a2b3fe6
...
2024-10-31 09:29:42 +05:30
Kovid Goyal
2531c31d02
version 0.37.0
v0.37.0
2024-10-30 21:34:51 +05:30
Kovid Goyal
2458aad5b4
Update changelog
2024-10-30 21:29:49 +05:30
Kovid Goyal
bbd2df7e4d
Nicer error message on I/O error with child over pty
2024-10-29 06:01:35 +05:30
Kovid Goyal
11b0522eb9
Fix #8001
2024-10-29 05:32:07 +05:30
Kovid Goyal
8b7cd98a0e
When running a kitten that modifies the kitty config file if no config file exists create a commented out default config file and then modify it
...
Fixes #7991
2024-10-28 14:01:42 +05:30
Kovid Goyal
8bca84ed66
Fix background image flashing when closing a tab
...
Ensure the correct vertex array object is bound when calling
draw_bgimage. Before this fix it was order dependent on draw calls.
Fixes #7999
2024-10-28 12:30:03 +05:30
Kovid Goyal
865aa4bc24
Cleanup cursor_trail threshold option name and documentation
2024-10-27 13:44:33 +05:30
Kovid Goyal
0f2662461a
Merge branch 'cursor_trail' of https://github.com/jinhwanlazy/kitty
2024-10-27 13:40:40 +05:30
Rick Choi
f9368a9472
fix build error in linux ci
2024-10-27 15:13:05 +09:00
Rick Choi
261dd502b1
change default value for cursor_trail_decay_slow to 0.4
2024-10-27 14:34:25 +09:00
Rick Choi
db2ca7b4b8
refactor: split update_cursor_trail_states function into smaller pieces
2024-10-27 14:15:55 +09:00
Rick Choi
8f19a9ce97
fade out cursor trail where cursor is hidden
2024-10-27 13:55:53 +09:00
Rick Choi
12c37c9df3
rename fn update_cursor_trail_corners t just update_cursor_trail_states
...
now it also updates cursor_trail.needs_render in place, because it is
also a feedback state.
2024-10-27 13:34:24 +09:00
Rick Choi
f3de97f6d0
expose option cursor_trail_distance_threshold
2024-10-27 13:02:35 +09:00
Kovid Goyal
cbffbade0e
Note that iTerm2 also supports the kitty keyboard protocol
2024-10-27 08:34:39 +05:30
Kovid Goyal
ccd2ca88d4
Update changelog
2024-10-25 20:02:54 +05:30
Rick Choi
39deb82795
add distance threshold to cursor trail
2024-10-24 18:22:53 +09:00
Rick Choi
cfed32281d
don't snap to cursor corners
2024-10-24 18:15:37 +09:00