Skip to content

Show-TUIDesigner should initialize the [Terminal.Gui.Application] #1

@DataTraveler1

Description

@DataTraveler1

Is your feature request related to a problem? Please describe.

Yes. The problem is that it's not clear that the below command must be issued in order for Show-TUIDesigner to function as shown in the documentation.

[Terminal.Gui.Application]::Init()

Describe the solution you'd like

Upon being invoked, Show-TUIDesigner should check for the presence of the [Terminal.Gui.Application] class and initialize it automatically

Describe alternatives you've considered

Initialize the class manually before executing Show-TUIDesigner (pictured further below)

Additional context

This applies to PowerShell Core 7.2.6

Note: if manually initializing the class fails, try importing the PowerShellProTools module

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions