kitty/kitty_tests
Trygve Aaberge 03720402a7 Fix hints sometimes matching next line as part of URL
For URLs where there's fewer characters left to the right edge of the
window than the number of escape characters in the line, the next line
would be included in the URL, as if the URL went all the way to the
right edge.

For example with a 40 chars wide terminal, if you run:

    echo -e '\e[31m1\e[m https://github.com/kovidgoyal/kitty\ntest'

And launch the hints kitten, you'll see that test on the next line will
be included in the URL.

This happened because the calculation for filling the rest of the line
with NUL characters counted the escape characters as well as the visible
characters, so it filled in too few characters.

This is a regression introduced in commit 91966712.
2022-08-30 22:24:58 +02:00
..
__init__.py Give up on signal delivery tests 2022-08-01 19:03:02 +05:30
bench_scrollback.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
CascadiaCode-Regular.otf Fix rendering of ligatures in the latest release of Cascadia code 2021-02-15 11:57:57 +05:30
check_build.py ... 2022-08-30 10:40:59 +05:30
choose.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
crypto.py Add tests for AES256GCM 2022-08-05 13:50:03 +05:30
datatypes.py Add some tests for hashing and __eq__ 2022-08-12 12:02:22 +05:30
diff.py diff kitten: tests for directory walking 2022-06-06 11:01:45 +02:00
file_transmission.py Reset global options object in the tests 2022-06-07 10:58:03 +05:30
FiraCode-Medium.otf Improve handling of infinite length ligatures in newer versions of FiraCode and CascadiaCode. 2021-02-15 15:49:09 +05:30
fonts.py Reset global options object in the tests 2022-06-07 10:58:03 +05:30
glfw.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
gr.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
graphics.py Graphics protocol: Only delete temp files if they have the string tty-graphics-protocol in their file paths. 2022-08-16 11:25:33 +05:30
hints.py Fix hints sometimes matching next line as part of URL 2022-08-30 22:24:58 +02:00
iosevka-regular.ttf Fix ligatures not working with the Iosevka font 2021-06-04 12:18:17 +05:30
keys.py Forgot to adjust test for new mouse encoding 2022-04-07 17:23:23 +05:30
layout.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
LiberationMono-Regular.ttf
main.py DRYer 2022-07-13 19:49:40 +05:30
mouse.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
open_actions.py The open_actions() test needs options set 2022-01-24 15:21:32 +05:30
options.py Allow pixel based adjustments as well 2022-07-15 11:45:43 +05:30
parser.py Also test changing of title when running command 2022-02-21 21:17:52 +05:30
prewarm.py Fix exec in prewarm forked process sometimes inheriting env vars from grandparent process 2022-08-30 19:03:32 +05:30
screen.py Fix missing last line when getting output of the running command 2022-07-02 12:33:58 +08:00
search_query_parser.py Fix parsing of quoted words 2022-04-12 19:31:56 +05:30
shell_integration.py Wait till prompt appears before issuing clear 2022-08-28 21:54:55 +05:30
ssh.py ssh kitten: A new option :code:--symlink-strategy to control how symlinks are copied to the remote machine 2022-07-03 14:03:56 +05:30
tui.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
unicode_input.py run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
utmp.py More cleanups 2021-10-05 11:58:06 +05:30