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

Clicking a link on soft-wrapped line doesn't take into account the remaining of the link. #2579

Closed
lesleyrs opened this issue May 30, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lesleyrs
Copy link
Contributor

What steps will reproduce the bug?

  1. zoom in the terminal before using bat so it line wraps
  2. click link in bat with pager
  3. it only links you to the first part of the link on the same line

What happens?

Opens only part of a link

What did you expect to happen instead?

Open up full link including soft wrapped part, doesn't occur if less wraps by itself.

How did you install bat?

cargo


bat version and environment

0.23.0 powershell (windows 10/windows terminal)

@lesleyrs lesleyrs added the bug Something isn't working label May 30, 2023
@keith-hall
Copy link
Collaborator

I believe this could be a duplicate of #2541

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants