microsoft / microsoft/terminal

Terminal should treat the spaces at the right edge of a nonwrapped line as one region

Open
#5,976 1 comment 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.