microsoft / microsoft/terminal
Terminal should treat the spaces at the right edge of a nonwrapped line as one region
Open
@carlos-zamora is already working on this.
Since May 18, 2020.
Area-UserInterface
Issue-Task
Product-Terminal
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
In most other terminal emulators, when you drag a selection off the right edge of the text it selects the entire empty region up to the edge of the screen as a single unit.
There may be an impact, if we do this, on how we copy versus do not copy newlines.
+----------------------------------------------+
|TEXT TEXT TEXT |
| |
+----------------------------------------------+
Selection:
v cursor is here
##############
|TEXT TEXT TEXT |
drag right...
v cursor is here
##############################################
|TEXT TEXT TEXT |
There's an argument to be made that copying TEXT TEXT TEXT should not have a newline and copying TEXT TEXT TEXT<SPACE> should.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.