Enum Command
Actions which can be performed by the application or bound to keys in a View control.
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public enum Command
Fields
| Name | Description |
|---|---|
| Accept | Accepts the current state (e.g. selection, button press etc) |
| BackTab | Inserts a shift tab. |
| BottomEnd | Moves to bottom end. |
| BottomEndExtend | Extends the selection to the bottom end. |
| Cancel | Cancels any current temporary states on the control e.g. expanding a combo list |
| Collapse | Collapses a list or item (with subitems) |
| CollapseAll | Recursively collapses a list items of their children (if any) |
| Copy | Copies the current selection. |
| Cut | Cuts the current selection. |
| CutToEndLine | Deletes and copies to the clipboard the characters from the current position to the end of the line. |
| CutToStartLine | Deletes and copies to the clipboard the characters from the current position to the start of the line. |
| DeleteAll | Deletes all objects in the control. |
| DeleteCharLeft | Deletes the character on the left. |
| DeleteCharRight | Deletes the character on the right. |
| DisableOverwrite | Disables overwrite mode (EnableOverwrite) |
| EnableOverwrite | Enables overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key). |
| EndOfLine | Moves the cursor to the end of line. |
| EndOfLineExtend | Extends the selection to the end of line. |
| EndOfPage | Moves the cursor to the bottom of page. |
| Expand | Expands a list or item (with subitems) |
| ExpandAll | Recursively Expands all child items and their child items (if any) |
| KillWordBackwards | Deletes the characters backwards. |
| KillWordForwards | Deletes the characters forwards. |
| Left | Moves the selection left one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| LeftExtend | Extends the selection left one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| LeftHome | Moves to the left begin. |
| LeftHomeExtend | Extends the selection to the left begin. |
| LineDown | Moves the caret down one line. |
| LineDownExtend | Extends the selection down one line. |
| LineDownToLastBranch | Moves the caret down to the last child node of the branch that holds the current selection |
| LineUp | Moves the caret up one line. |
| LineUpExtend | Extends the selection up one line. |
| LineUpToFirstBranch | Moves the caret up to the first child node of the branch that holds the current selection |
| NewLine | Inserts a new line. |
| NextView | Moves focus to the next view. |
| NextViewOrTop | Moves focus to the next view or toplevel (case of Mdi). |
| OpenSelectedItem | Open selected item. |
| PageDown | Move the page down. |
| PageDownExtend | Move the page down increase selection area to cover revealed objects/characters. |
| PageLeft | Moves to the left page. |
| PageRight | Moves to the right page. |
| PageUp | Move the page up. |
| PageUpExtend | Move the page up increase selection area to cover revealed objects/characters. |
| Paste | Pastes the current selection. |
| PreviousView | Moves focuss to the previous view. |
| PreviousViewOrTop | Moves focus to the next previous or toplevel (case of Mdi). |
| QuitToplevel | Quit a toplevel. |
| Redo | Redo changes. |
| Refresh | Refresh the application. |
| Right | Moves the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| RightEnd | Moves to the right end. |
| RightEndExtend | Extends the selection to the right end. |
| RightExtend | Extends the selection right one by the minimum increment supported by the view e.g. single character, cell, item etc. |
| ScrollDown | Scrolls down one line (without changing the selection). |
| ScrollLeft | Scrolls one character to the left |
| ScrollRight | Scrolls one character to the right. |
| ScrollUp | Scrolls up one line (without changing the selection). |
| SelectAll | Selects all objects in the control. |
| StartOfLine | Moves the cursor to the start of line. |
| StartOfLineExtend | Extends the selection to the start of line. |
| StartOfPage | Moves the cursor to the top of page. |
| Suspend | Suspend a application (used on Linux). |
| Tab | Inserts a tab. |
| ToggleChecked | Toggle the checked state. |
| ToggleExpandCollapse | Toggles the Expanded or collapsed state of a a list or item (with subitems) |
| ToggleExtend | Toggles the extended selection. |
| ToggleOverwrite | Toggles overwrite mode such that newly typed text overwrites the text that is already there (typically associated with the Insert key). |
| TopHome | Moves to top begin. |
| TopHomeExtend | Extends the selection to the top begin. |
| Undo | Undo changes. |
| UnixEmulation | Unix emulation |
| WordLeft | Moves the caret to the start of the previous word. |
| WordLeftExtend | Extends the selection to the start of the previous word. |
| WordRight | Moves the caret to the start of the next word. |
| WordRightExtend | Extends the selection to the start of the next word. |