atom-community / atom-community/terminal
Copied text includes unwanted line-breaks in long texts
- Dominant language
- JavaScript
- Stars
- 18
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
If the text printed to the terminal is long enough that its text is shown in the next line, and we copy the text from the terminal, the resulting copied text will have unwanted line breaks when pasted into the editor.
For example, the result of:
```
> echo sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
```
will be copied as:
```
sssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
ssssssssssssssssssssssssssssss
```
Contributor guide
Research direction
Start by reproducing the issue with the long `echo` command in the integrated terminal and inspect the terminal's copy handling. Done means copying text that wraps visually no longer inserts unwanted line breaks when pasted into an editor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100