microsoft/Terminal

Additional commands could be previewable

Open

#9818 aperta il 14 apr 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-CmdPalHelp WantedIssue-ScenarioNeeds-Tag-FixProduct-Terminal

Metriche repository

Star
 (35.764 star)
Metriche merge PR
 (Merge medio 27g 19h) (24 PR mergiate in 30 g)

Descrizione

This is a follow-up to #9794

Potential follow-ups

  • changing the font size
  • changing the font face
  • changing the opacity of acrylic (#11205)
  • Toggling acrylic? (#2531)
  • SetPixelShaderPath?
  • SetWindowTheme (light/dark/system/<some theme from #3327>)?
  • sendInput, see 60f63b09c

Each of these could have default nested commands that have some example values. Like

{
    // Font size
    "name": { "key": "SetFontSizeCommandKey" },
    "commands": [
        { "command": { "action": "setFontSize", "size": 8 } },
        { "command": { "action": "setFontSize", "size": 10 } },
        { "command": { "action": "setFontSize", "size": 12 } },
        { "command": { "action": "setFontSize", "size": 16 } },
        { "command": { "action": "setFontSize", "size": 18 } },
        { "command": { "action": "setFontSize", "size": 24 } },
        { "command": { "action": "setFontSize", "size": 32 } },
        { "command": { "action": "setFontSize", "size": 48 } }
    ]
},

Guida contributor