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