Class CursesKeyEvent
Key input event.
Inherited Members
Namespace: Sharpie.Backend
Assembly: sharpie.dll
Syntax
public sealed record CursesKeyEvent : CursesEvent, IEquatable<CursesEvent>, IEquatable<CursesKeyEvent>
Constructors
CursesKeyEvent(string?, Key, ModifierKey)
Key input event.
Declaration
public CursesKeyEvent(string? Name, Key Key, ModifierKey Modifiers)
Parameters
Type | Name | Description |
---|---|---|
string | Name | The description of the character (backend-specific). |
Key | Key | The key that was read from the terminal. |
ModifierKey | Modifiers | The key modifiers. |
Properties
Key
The key that was read from the terminal.
Declaration
public Key Key { get; init; }
Property Value
Type | Description |
---|---|
Key |
Modifiers
The key modifiers.
Declaration
public ModifierKey Modifiers { get; init; }
Property Value
Type | Description |
---|---|
ModifierKey |
Name
The description of the character (backend-specific).
Declaration
public string? Name { get; init; }
Property Value
Type | Description |
---|---|
string |