Commit Graph
343 Commits
Author SHA1 Message Date
Kovid Goyal 9ba808ec3c Merge branch 'ft/csi-code-rep' of https://github.com/keynslug/kitty 2020-06-01 14:31:34 +05:30
Andrew Mayorov 9fe631ee3f Provide support for CSI REP control code 2020-05-29 01:05:49 +03:00
Luflosi 7931654a7c Ensure valid UTF-8 when cutting string 2020-05-23 13:59:23 +02:00
Kovid Goyal e97454c4a5 And ever more coalesce tests 2020-05-17 23:20:26 +05:30
Kovid Goyal 936dc74a27 Some more coalesce tests 2020-05-17 23:08:27 +05:30
Kovid Goyal 362e4266bb Better coalescing of multiple symbol_maps
When specifying multiple symbol_map values in kitty.conf later ones
should override conflicting previous ones. Fixes #2662
2020-05-17 23:03:28 +05:30
Kovid Goyal 5e48ae8bac pep8 2020-05-12 22:54:08 +05:30
Kovid Goyal cdd943ded4 Port layout tests to new API 2020-05-12 22:43:55 +05:30
Kovid Goyal c69b8870d2 Allow individually setting margins and padding for each edge (left, right, top, bottom) 2020-04-19 09:36:26 +05:30
Kovid Goyal a08efa1fc5 Fix failing test 2020-04-17 19:57:37 +05:30
Trygve Aaberge 43af6e3b8a Add support for sending mouse events from a kitten
This allows you to a control a program running in kitty from a kitten
using mouse events. If the program is not receiving mouse events of that
type, it is not sent.
2020-04-12 16:19:50 +02:00
Kovid Goyal b4d08044a0 ... 2020-04-12 17:01:39 +05:30
Kovid Goyal d1a5d30233 Add another test for marking 2020-04-12 16:54:38 +05:30
Kovid Goyal 082546a1e7 Marks: Fix marks not handling wide characters and tab characters correctly
Fixes #2534
2020-04-12 13:28:21 +05:30
Kovid Goyal 0862e85577 Rewrite wcswidth as a state machine 2020-04-07 10:10:30 +05:30
Kovid Goyal 6357f7b811 Update wcswidth() to match new country flag rendering 2020-04-06 22:56:34 +05:30
Kovid Goyal 342f0981d8 Add tests for selection extension by right click 2020-03-18 20:57:19 +05:30
Kovid Goyal 12f37bcfad Dont strip trailing punctuation from end of URL if next line startswith url characters 2020-03-15 08:47:52 +05:30
Kovid Goyal e86c712424 Dont strip :code:& and :code:- from the end of URLs
Fixes #2436
2020-03-15 08:29:56 +05:30
Kovid Goyal 917559f883 more typing work 2020-03-13 16:13:26 +05:30
Kovid Goyal 353db678a2 Add typing to box_drawing 2020-03-08 21:30:50 +05:30
Kovid Goyal 645890ccc8 Make the set of URL prefixes that are recognized while hovering with the mouse configurable
Fixes #2416
2020-03-08 13:16:34 +05:30
Kovid Goyal c763db94ce Fix #2401 2020-02-28 10:28:01 +05:30
Kovid Goyal 2f8002c567 Add a test for #1616 2020-02-26 09:20:08 +05:30
Kovid Goyal 294d01def6 Clear the click queue before a multi-click 2020-02-25 21:20:41 +05:30
Kovid Goyal 9a67176719 Fix scrolling selection tests 2020-02-25 20:17:49 +05:30
Kovid Goyal 42d1a4755a Add tests for multiline movement 2020-02-25 20:03:14 +05:30
Kovid Goyal 5bbc15583e Non-scrolling based selection tests all pass 2020-02-25 20:03:14 +05:30
Kovid Goyal 9c486f6e69 Track left to right for selections based on actual mouse positions
Cant use the selection boundaries as these can be programmatically
altered when extending selection by word or line.
2020-02-25 20:03:14 +05:30
Kovid Goyal 2f24588c66 Fix cell select mode tests 2020-02-25 20:03:14 +05:30
Kovid Goyal 6b1ea326a0 Initial implementation of half cell based selection 2020-02-25 20:03:14 +05:30
Kovid Goyal 4512d0dbac Update test for changes to ANSI serialization 2020-02-25 19:23:05 +05:30
Kovid Goyal 6f1fda0a48 Store cell half information in selection objects 2020-02-18 17:45:07 +05:30
Kovid Goyal 84453bf15c Add a test for #2284 2020-02-16 21:14:08 +05:30
Kovid Goyal fdf055312c DRYer 2020-02-13 10:07:55 +05:30
Kovid Goyal b0b8b06b56 Scrolling test 2020-02-13 10:02:44 +05:30
Kovid Goyal 9c1ffb1adf Test for rectangle select 2020-02-13 08:52:33 +05:30
Kovid Goyal 563bafea08 Merge options when testing 2020-02-13 08:33:57 +05:30
Kovid Goyal 3eff929652 More mouse interaction tests 2020-02-12 21:19:25 +05:30
Kovid Goyal 3010ebfef5 More mouse interaction tests 2020-02-12 19:02:38 +05:30
Kovid Goyal ff14f47781 First mouse interaction test 2020-02-12 15:21:59 +05:30
Kovid Goyal 86174c81c8 Some tests for splits layout 2020-01-30 20:30:52 +05:30
Kovid Goyal 43326c9bd0 Fix URL detection not working for urls of the form scheme:///url
Fixes #2292
2020-01-17 07:49:01 +05:30
Kovid Goyal 2f7bdc274d Fix failing test 2020-01-15 11:48:13 +05:30
Kovid Goyal e8121b39ec Add newer layout classes to tests 2020-01-15 08:14:45 +05:30
Kovid Goyal 936f2186cc Allow scrolling to marks 2020-01-15 07:11:34 +05:30
Kovid Goyal 35fb702833 Use only a single marker function
Multipe colors/expressions can instead be combined at definition time
2020-01-13 11:57:19 +05:30
Kovid Goyal 51c4737a29 Test function marking 2020-01-13 06:50:37 +05:30
Kovid Goyal d63ea11cac Marking now works 2020-01-13 06:50:37 +05:30
Kovid Goyal a649eb2a48 Coalesce neighboring symbol maps for better lookup performance 2019-11-12 20:05:48 +05:30