Skip to content
New issue

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

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

Already on GitHub? # to your account

Mouse line selection should not stop at terminal border #466

Closed
bew opened this issue Feb 8, 2021 · 1 comment
Closed

Mouse line selection should not stop at terminal border #466

bew opened this issue Feb 8, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@bew
Copy link
Member

bew commented Feb 8, 2021

Describe the bug

If I print a long line, longer than the width of the terminal, doing a line selection (triple mouse click with default config) stops at the terminal border, instead of selecting the entire logical line (everything until \n)

Environment (please complete the following information):

  • OS: Linux X11
  • Version: 20210203-095643-70a364eb-8-gaa75dda1

To Reproduce

  1. Run wezterm -n
  2. Then input echo {1..100} to print a long line of text.
+-----------------+
| $ echo {1..10}  |
| 1 2 3 4 5 6 7 8 |
|  9 10           |
|                 |
|                 |
|                 |
+-----------------+
  1. Triple click on the line

We see the following selection (between [ & ])

+-----------------+
| $ echo {1..10}  |
|[1 2 3 4 5 6 7 8]|
|  9 10           |
|                 |
|                 |
|                 |
+-----------------+

Expected behavior

+-----------------+
| $ echo {1..10}  |
|[1 2 3 4 5 6 7 8 |
|  9 10          ]|
|                 |
|                 |
|                 |
+-----------------+
@bew bew added the bug Something isn't working label Feb 8, 2021
@wez wez closed this as completed in 27837b5 Feb 28, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2023

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 4, 2023
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant