Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Customizable HTML/formated copy #2131

Open
mcpiroman opened this issue Jul 27, 2019 · 1 comment
Open

FR: Customizable HTML/formated copy #2131

mcpiroman opened this issue Jul 27, 2019 · 1 comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Help Wanted We encourage anyone to jump in on these. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Milestone

Comments

@mcpiroman
Copy link
Contributor

Description of the new feature/enhancement

Text copied in formated form, like HTML, should be customizable by settings, so in case you do a lot of copy-paste you don't have to re-format each piece to match your preferences.
All of them should be optional, with some default values. Once settings are categorized, they should go into single category.

Proposed technical implementation details (optional)

My propositions:

Property Type Default Description
htmlWidth String "terminal" - terminal - the width of the actual terminal.
- text - up to the last printable character. Like terminal, but with stripped blank space on the right.
- infinite - Scratches to available space (current behaviour).
- Valid css value e.g. 500px
htmlBackground String background's value Could anything that background can be or any valid css value that would be passed to background css property, like url. Theoretically we could support stripping the actual background (like image) and embed it as base64. I'd like that feature, but I'm afraid it's too heavy for a while.
htmlOffsetFirstCharracter Boolean true In situation like this:
   0123456789
   ABCDEFGHIJ
   KLMNOPQRST
where this means selected, true makes the paste as:
         3456789
   ABCDEFGHIJ
   KLMNOPQ
and false as:
   3456789
   ABCDEFGHIJ
   KLMNOPQ

Other than these above, properties padding, fontFace, fontSize and colorTable should be duplicated for the html/formated text so they can be set separately. If not set, they would match the terminal's ones.

@mcpiroman mcpiroman added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Jul 27, 2019
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jul 27, 2019
@zadjii-msft zadjii-msft added Area-Settings Issues related to settings and customizability, for console or terminal Product-Terminal The new Windows Terminal. labels Jul 30, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Jul 30, 2019
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Jul 30, 2019
@zadjii-msft zadjii-msft added the Help Wanted We encourage anyone to jump in on these. label Jul 30, 2019
@miniksa miniksa added this to Spec Needed ❓ in Specification Tracker via automation Aug 1, 2019
@miniksa miniksa removed the Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting label Aug 1, 2019
@miniksa
Copy link
Member

miniksa commented Aug 1, 2019

This sounds alright at first glance during our triage. Do you want to write an actual spec doc or go from here or what?

@zadjii-msft zadjii-msft modified the milestones: Terminal Backlog, Backlog Jan 4, 2022
@zadjii-msft zadjii-msft modified the milestones: Backlog, Icebox ❄ Nov 4, 2022
@zadjii-msft zadjii-msft moved this from Spec Needed ❓ to Mini-spec in thread in Specification Tracker Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Settings Issues related to settings and customizability, for console or terminal Help Wanted We encourage anyone to jump in on these. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Projects
Specification Tracker
  
Mini-spec in thread
Development

No branches or pull requests

3 participants