microsoft/Terminal

[Feature Request] Option to auto trim leading/ending new lines/spaces from pasted content

Ouverte

#14 410 ouverte le 18 nov. 2022

 (4 commentaires) (0 réaction) (0 personne assignée)C++ (9 275 forks)batch import
Area-SettingsHelp WantedIn-PRIssue-FeatureProduct-Terminal

Métriques du dépôt

Stars
 (103 173 étoiles)
Métriques de merge PR
 (Merge moyen 27j 19h) (24 PRs mergées en 30 j)

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

Guide contributeur