Skip to content

webmaster442.windowsterminal.fragments.terminalaction

webmaster442 edited this page Jun 9, 2025 · 2 revisions

< Back


TerminalAction

Namespace: Webmaster442.WindowsTerminal.Fragments

A terminal action

public class TerminalAction

Inheritance Object → TerminalAction
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute

Properties

Command

This is the command executed when the associated keys are pressed.

public TerminalCommand Command { get; set; }

Property Value

TerminalCommand

Name

This sets the name that will appear in the command palette. If one isn't provided, the terminal will attempt to automatically generate a name.

public string Name { get; set; }

Property Value

String

Id

This sets the id of this action. If one isn't provided, the terminal will generate an ID for this action. The ID is used to refer to this action when creating keybindings.

public string Id { get; set; }

Property Value

String

Constructors

TerminalAction()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public TerminalAction()

< Back

Documentation

Clone this wiki locally