Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URLs are truncated if the last characer is in a new line #3088

Closed
agschaid opened this issue Nov 11, 2020 · 3 comments
Closed

URLs are truncated if the last characer is in a new line #3088

agschaid opened this issue Nov 11, 2020 · 3 comments
Labels

Comments

@agschaid
Copy link

Describe the bug
when an URL is broken into another line so that only the last character is in the new line that character is ommited when klicking the URL

To Reproduce
Steps to reproduce the behavior:

  1. in kitty run echo "https://github.com/kovidgoyal/kitty/issues"
  2. shrink the terminal window so "https://github.com/kovidgoyal/kitty/issue" is in one line and "s" is in the next one
  3. klick the URL
  4. only the first line gets underlined and "https://github.com/kovidgoyal/kitty/issue" is opened

(Note: as soon as there are two or more characters in the next line the behavior is as expected)

Expected behavior
Both lines should be underlined and "https://github.com/kovidgoyal/kitty/issues" should be opened.

Environment details
NixOS 20.03

kitty 0.19.1 created by Kovid Goyal
Linux langeoog 5.4.72 #1-NixOS SMP Sat Oct 17 08:11:24 UTC 2020 x86_64
<<< Welcome to NixOS 20.03.3185.6b5f85a62c4 (\m) - \l >>>

Run `nixos-help` for the NixOS manual.
Loaded config files: /home/agl/.config/kitty/kitty.conf
Running under: X11

Config options different from defaults:
allow_remote_control y
cursor_shape         2
enable_audio_bell    False
font_family          Victor Mono
font_size            12.0

Additional context
Issue is reproducable with `kitty --config NONE'.

@agschaid
Copy link
Author

Hi.

Why did you close the issue?
The effected kitty version is pretty resent and I did not find any duplicate issue.

@kovidgoyal
Copy link
Owner

Read the commit that closed the issue.

@agschaid
Copy link
Author

agschaid commented Nov 11, 2020

jesus . . . sorry. Just glanced over it and missed that it was clossed by a commit (I am more used to the look of issues being closed by MRs)

in that case: thank you for the extremely quick fix ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants