microsoft/Terminal
[Feature Request] Option to auto trim leading/ending new lines/spaces from pasted content
开放
#14,410 创建于 2022年11月18日
Area-SettingsHelp WantedIn-PRIssue-FeatureProduct-Terminal
仓库指标
- 星标
- (103,173 个星标)
- PR 合并指标
- (平均合并 27天 19小时) (30 天内合并 24 个 PR)
描述
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:
- Trim new lines
- 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