microsoft / microsoft/terminal
[Feature Request] Option to auto trim leading/ending new lines/spaces from pasted content
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
# Description of the new feature/enhancement
Simple feature quest, to add an option to automatically trim spaces and/or new lines from pasted text.
I'm constantly copying stuff, pasting in the terminal and having to go with my arrow keys to erase unnecessary chars so that my commands work.
# Proposed technical implementation details (optional)
We can have these options:
1) Trim new lines
2) Trim spaces
a) Trim leading
b) Trim ending
Maybe it should display as two ComboBoxes:
New line trimming: Disabled/Leading/Ending/Both
Space trimming: Disabled/Leading/Ending/Both
Contributor guide
Research direction
No files, tests, or entry points are named. Start by locating paste handling and the settings UI in the Windows Terminal codebase, then clarify the trim behavior and configuration shape before defining completion criteria and tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100