microsoft / microsoft/terminal
globalSummon and multipleActions should be able to be used at the same time
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how settings.json represents the command object's action field, including globalSummon and multipleActions. Determine the configuration and keybinding entry points affected; done means both options can be configured together so globalSummon changes binding behavior while multipleActions still runs the requested actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100