microsoft/Terminal

globalSummon and multipleActions should be able to be used at the same time

Open

#12.846 aperta il 6 apr 2022

Vedi su GitHub
 (1 commento) (2 reazioni) (0 assegnatari)C++ (3212 fork)batch import
Area-SettingsArea-UserInterfaceHelp WantedIssue-FeatureProduct-Terminal

Metriche repository

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

Descrizione

I'm not sure if this is currently supported so apologies if I filed this incorrectly.

Description of the new feature/enhancement

In settings.json, allow actions in "actions" list to be globalSummon and have multiple actions.

It seems like both "globalSummon" and "multipleActions" go into the "action" field of the "command" object so you can't use both at the same time. But it seems natural to users (also I have a scenario where I would like this to work) that they would want to do globalSummon and then run some actions.

This would allow terminal to take market from autohotkey where users want to register global hotkeys as well but terminal can do something hotkey actions better because terminal can display the output and provide better user interface.

Proposed technical implementation details (optional)

Make globalSummon its own field in "command" that changes how the action keybinding is bound and let multipleActions behave the as it used to.

Guida contributor