Skip to main content

Module LocalPTYGetProfiles

Module LocalPTYGetProfiles 

Source
Expand description

Discover available terminal profiles. Probes every well- known shell location plus /etc/shells (Unix) or known Windows install paths. The first existing match flags isDefault=true; on Unix the user’s $SHELL wins.

The wire shape matches VS Code’s ITerminalProfileProvider.profileName / path / args / env / icon / isDefault so Wind’s terminal picker renders without reshaping. VS Code’s ITerminalProfile reads args (lowercase); emitting Arguments silently mis-parses and the profile dropdown falls back to $SHELL.

Functions§

Fn