Commit Graph

1170 Commits

Author SHA1 Message Date
Kovid Goyal
42e93d8caa More work on scaled font rendering 2025-02-03 10:56:44 +05:30
Kovid Goyal
3dca2687d8 Make font rendering tests use a text font rather than system font 2025-02-03 10:56:44 +05:30
Kovid Goyal
850dcec4d7 Allow multiple box rendering chars per cell 2025-02-03 10:56:44 +05:30
Kovid Goyal
073d5c7340 Add test for quarter blocks 2025-02-03 10:56:44 +05:30
Kovid Goyal
8030cbd361 Allow more subscales 2025-02-03 10:56:44 +05:30
Kovid Goyal
b1c80d212f Allow non-width multicell code to fill multiple cells using native width algo 2025-02-03 10:56:44 +05:30
Kovid Goyal
844d538e40 When drawing text, skip past multiline chars 2025-02-03 10:56:44 +05:30
Kovid Goyal
79a062466c Fix render_box_cell test with odd block height 2025-02-03 10:56:44 +05:30
Kovid Goyal
35946f9386 Improve performance of processing wide chars
Store multi cell data in the CPUCell rather than in TextCache.
This sends the CPUCell size back to 12 but in benchmarks ASCII
performance is untouched and Unicode performace goes back to what it was
before multicell
2025-02-03 10:56:44 +05:30
Kovid Goyal
383e1f8f57 Work on scaled rendering for box drawing chars 2025-02-03 10:56:43 +05:30
Kovid Goyal
394404a1ab Add multicell tests for various edit operations 2025-02-03 10:56:43 +05:30
Kovid Goyal
e10df382f8 Tests for erasing characters 2025-02-03 10:56:43 +05:30
Kovid Goyal
8f0d291500 Delete chars with multicell tests 2025-02-03 10:56:43 +05:30
Kovid Goyal
23bb053fb4 Insert chars with multicell tests 2025-02-03 10:56:43 +05:30
Kovid Goyal
1ed4a349be Clearance of multicell tests 2025-02-03 10:56:43 +05:30
Kovid Goyal
5e861ea5ac Start work on testing multicell commands 2025-02-03 10:56:43 +05:30
Kovid Goyal
b5dff921c4 Start work on multicell support 2025-02-03 10:56:43 +05:30
Kovid Goyal
4f0f9b9aff Fix #8262 2025-01-27 21:13:45 +05:30
Kovid Goyal
d7ce3eb66e Keyboard events: Fix turning on only the "Report all keys as escape codes" enhancement not reporting modifier+enter/tab/backspace using escape codes 2025-01-12 19:11:19 +05:30
Kovid Goyal
1eeea70c7a Allow dynamically generating configuration by running an arbitrary program using the new geninclude directive 2025-01-06 19:00:01 +05:30
Kovid Goyal
334adf9c1a Ensure temp files and other resources are cleaned up even if kitty crashes or is SIGKILLed 2025-01-05 12:51:59 +05:30
Kovid Goyal
25cb73511f Implement atexit.rmtree 2025-01-05 11:04:23 +05:30
Kovid Goyal
0d5bcff353 Tool to implement robust cleanups even on process crash 2025-01-05 10:50:50 +05:30
Kovid Goyal
dd249df5eb Dont encode enter, tab and backspace when lock mods are set
Otherwise user cant type reset when num lock is set.
2025-01-01 06:10:47 +05:30
Kovid Goyal
909bccb807 When mapping a custom kitten allow using shell escaping for the kitten path
Fixes #8178
2024-12-31 12:13:17 +05:30
Kovid Goyal
24a195c7c7 Graphics: Fix deletion of images by id not working for images with no placements 2024-12-24 09:39:01 +05:30
Kovid Goyal
8facaf4fa0 Graphics: Fix deleted but not freed images without any references being incorrectly freed on a subsequent delete command 2024-12-18 09:25:06 +05:30
Kovid Goyal
33207a57ba Add tests for consecutive conflicting variation selectors 2024-12-05 19:21:00 +05:30
Kovid Goyal
a4d2d933c9 Fix #8103 2024-12-05 19:19:15 +05:30
Kovid Goyal
8e388acab7 Add some cursor tracking tests 2024-11-27 20:33:56 +05:30
Kovid Goyal
778344a439 Fix enlarging window when a long line is wrapped between the first line of the scrollback buffer and the screen inserting a spurious newline
Fixes #7033
2024-11-27 20:08:27 +05:30
Kovid Goyal
cb2e1fcd04 Graphics protocol: Fix delete by number not deleting newest image with the specified number
Fixes #8071
2024-11-24 10:11:34 +05:30
Kovid Goyal
0eaf44d33d Add tests for strip_csi with multibyte 2024-11-24 09:28:21 +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
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
bbd2df7e4d Nicer error message on I/O error with child over pty 2024-10-29 06:01:35 +05:30
Kovid Goyal
002d0a0403 Preserve trailing blank line on resize always
No sense in restricting it to just lines marked as output and only on
main screen.
2024-10-19 14:15:45 +05:30
Kovid Goyal
66251f8fd5 Add test for previous bugfix
main screen should have trailing output line preserved when resized on alt screen
2024-10-19 14:02:06 +05:30
Kovid Goyal
b66d9332f9 ... 2024-10-19 10:51:18 +05:30
Kovid Goyal
70d72b22d8 Graphics protocol: Clear any partially uploaded data for a chunked load when any delete command is received
Fixes #7968
2024-10-13 09:49:44 +05:30
Ihar Hrachyshka
927c8ff4d8 tests: apply os.utime to created symlinks too
Nanosecond precision is not universally available on all platforms. For
example, nixpkgs python is built using Apple SDK 10.12 that does not
have `utimensat`. Because of that, python `os.stat` falls back to
microsecond precision.

This patch applies `os.utime` with zeroed nanoseconds to symlinks
created by the test case, the same way as it is already applied to other
files tested for transfer.
2024-10-03 23:09:28 -04:00
Kovid Goyal
c3130419a7 Implement dynamic control of transparent background colors via escape code
Still have to implement it via remote control
2024-09-24 19:02:13 +05:30
Kovid Goyal
481153318b Fix a regression that broke writing to the clipboard using the OSC 5522 protocol
Fixes #7858
2024-09-15 08:42:50 +05:30
Kovid Goyal
913ce58fe3 Make shlex_split always return a token
Matches behavior of split() so is therefore more intuitive
2024-09-02 17:30:18 +05:30
Kovid Goyal
0c1d239b5f Exclude bypy/b from go test discovery 2024-08-23 11:27:54 +05:30
Kovid Goyal
b872bbff49 Get it building in a rootless container 2024-08-12 19:24:48 +05:30
Kovid Goyal
2b3f2258ff More pyugrade to 3.9 2024-08-05 11:00:51 +05:30
Kovid Goyal
2c743dcdb2 Update sound support in desktop notifications spec
Add a short list of standard sound names.
2024-08-04 20:20:41 +05:30