Windows-terminal-context-menu icon indicating copy to clipboard operation
Windows-terminal-context-menu copied to clipboard

Does not work for custom added terminals

Open brybalicious opened this issue 3 years ago • 3 comments

image

brybalicious avatar Jan 15 '22 15:01 brybalicious

Note Git Bash and Powershell 7 Preview were skipped

brybalicious avatar Jan 15 '22 15:01 brybalicious

Managed to manually add the entries to the registry, so unsure why the switch statement/elif blocks fail at some point

brybalicious avatar Jan 15 '22 22:01 brybalicious

Those entries were skipped because their hidden properties were missing in neither config.json for the Windows Terminal, nor config.json for the script itself. In this case, the if statement to check hidden property never became truthy (since it only checks if the $isHidden variable is an absolute $false).

Kindly have a look at my patch (mchobbylong/wt-context-menu@1f76635) that fixes this bug.

mchobbylong avatar Jan 26 '22 17:01 mchobbylong