Kovid Goyal
2f8c392571
Cleanup reading of argv from files
2025-04-28 09:52:26 +05:30
Kovid Goyal
5c9c8aa424
Add unit testing for launcher code
2025-04-28 09:25:25 +05:30
Kovid Goyal
b0ae88ada9
Wire up the codegen C cli parser
2025-04-28 09:20:11 +05:30
Kovid Goyal
1413d8fb85
Fix handling of --help and --version
2025-04-28 09:20:11 +05:30
Kovid Goyal
27c5b6aac5
Generate option parser in C for kitty CLI
2025-04-28 09:20:10 +05:30
Kovid Goyal
62699f6799
Get basic C cli parsing working
2025-04-28 09:20:10 +05:30
Kovid Goyal
3f00dc1c9e
Work on improving CLI parsing
...
Can now set bool values explicitly with =
Handle multi short flag args like -abc
Add unit tests for CLI parsing
Generate go code to serialize CLI options as a cmdline
TODO: Implement setting of bool vals in C and Go parsing code
TODO: Help/rst output should somehow indicate this feature
2025-04-26 09:01:54 +05:30
Kovid Goyal
2093fb1310
Fix handling of empty quoted string in shlex
2025-04-26 08:55:32 +05:30
Kovid Goyal
7bd7709685
Move parsing of macos-launch-services-cmdline into native code
...
Avoids expensive re-exec and simplifies various things. Much faster
for single instance usage.
2025-04-25 14:39:36 +05:30
Kovid Goyal
639ad3e8a6
Make shlex code re-useable in launcher
2025-04-25 09:35:42 +05:30
Kovid Goyal
76ac66fc8c
Implement various filesystem utility functions in C so they can be used in the launcher
2025-04-24 20:37:51 +05:30
Kovid Goyal
f0f5e53dbe
Fix failing test
2025-04-23 09:07:13 +05:30
Kovid Goyal
82e2fe82d6
Add a couple more gseg tests
2025-04-11 13:34:16 +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
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
d1938cb060
Fix failing test
2025-04-08 13:07:59 +05:30
Kovid Goyal
7e3e567916
Dont use subTest as it doesnt work with retry_on_failure
2025-04-07 05:22:15 +05:30
Kovid Goyal
f578e8d25b
Cleanup various test related things
2025-04-07 04:41:19 +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
66856e7b52
Use a multi-stage lookup table for grapheme segmentation
2025-03-31 21:51:28 +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
Kovid Goyal
9e1601a9b5
Nicer way to include grapheme test data in Go tests
2025-03-27 03:20:27 +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
f57f3d9909
Fix #8464
2025-03-21 19:55:45 +05:30
Kovid Goyal
b853f3a986
Show timeout duration in error
2025-03-20 08:50:53 +05:30
Kovid Goyal
0d866b1f13
Add tests for grapheme segmentation
...
Test data provided by Unicode organisation
2025-03-13 13:48:35 +05:30
Kovid Goyal
fd8172c04d
Fix a regression in the previous release that caused empty lines to be skipped when copying text from a selection
...
Fixes #8435
2025-03-12 16:47:13 +05:30
Kovid Goyal
8cbdd003e2
Make deleting test dir suring shell integration tests robust against fish 4 background daemon generating completions
2025-03-08 10:42:18 +05:30
Kovid Goyal
ac9ed921d7
Temp fix for failing fish integration test
...
fish >= 3.8 wants to send shell integration OSC 133 itself. However it
does not send the cmdline_url parameter, causing our integration tests
to fail. Temporarily fix by commenting out the tests for it.
Fixes #8385
2025-03-02 15:41:47 +05:30
Kovid Goyal
2907999131
Use the same algorithm for rendering box cells and font based cells
...
Should make things easier to change in tandem in future.
2025-02-19 17:05:43 +05:30
Kovid Goyal
15f711d6b5
Start work on horizontal align for multicells
2025-02-19 07:50:40 +05:30
Kovid Goyal
bedc2ea1b9
Reduce num of bits used for x/y multicell
2025-02-19 05:53:07 +05:30
Kovid Goyal
c4ef0a0eef
Add another test
2025-02-19 05:26:03 +05:30
Arvin Verain
a5cafdd8e9
test: Add more tests for scroll_to_prompt, fco, and lvco
2025-02-19 00:30:04 +08:00
Kovid Goyal
8f44e16b89
Fix scroll_to_prompt after resize that causes prompt line wrapping not accurate
...
See #8334
2025-02-18 19:40:23 +05:30
Kovid Goyal
eb5a9bc6a3
...
2025-02-18 19:02:32 +05:30
Kovid Goyal
6f57537f30
Fix failing test
2025-02-18 18:44:57 +05:30
Kovid Goyal
c520b0b1b9
Add test for PR #8322
2025-02-18 10:08:41 +05:30
Kovid Goyal
2caa3fc069
...
2025-02-17 20:18:14 +05:30
Kovid Goyal
a7f76ee8f7
Fix #8339
2025-02-17 19:56:39 +05:30