Namespace Sharpie
Classes
Canvas
A general-purpose drawing surface that can be latter draw onto any object that implements IDrawSurface. Supports multiple types of drawing operations most commonly used in terminal apps.
ColorManager
Exposes functionality to manage colors.
ControlCharacter
Defines a list of special control characters in ASCII.
CursesException
A generic Curses exception, base for all other curses errors.
CursesInitializationException
Exception thrown if Curses failed to initialize.
CursesOperationException
A Curses exception raised when an operation fails.
CursesSynchronizationException
Exception thrown if operation performed in an unauthorized context (such as different thread).
DelegateEvent
Special event that delegates an object to the main application context.
Event
An event from the terminal.
EventPump
The event "pump" class listens to all events from Curses, processes them and passes them along to consumers.
KeyEvent
Defines a key event.
KeySequenceResolver
Contains the definitions and implementations of input middlewares.
MouseActionEvent
Contains the details of a Curses event.
MouseMoveEvent
Defines a mouse move event.
Pad
Represents a Curses pad, which is a special type of off-screen window.
Screen
The main Curses screen class. Implements screen-related functionality. Only one instance of this class can be active at one time.
SoftLabelKeyManager
Adds support for soft function keys.
StartEvent
Generated automatically when EventPump starts listening for events.
StopEvent
Generated automatically when EventPump stops listening for events.
SubPad
Represents a Curses sub-pad and contains all it's functionality.
SubWindow
Represents a Curses sub-window and contains all it's functionality.
Surface
Represents a surface and contains all its functionality.
Terminal
This class allows the developer to interact with the terminal and its settings. This is the main class that is used in a Curses-based application.
TerminalOptions
Stores the terminal options.
TerminalResizeEvent
The terminal resized event.
TerminalSurface
Represents a screen-bound surface and contains all its functionality.
Window
Represents a Curses window and contains all it's functionality.
Structs
ColorMixture
Defines a color pair (foreground and background colors).
Style
Represents the style of the text (attributes and colors).
StyledText
Describes a text with mixed in styles. Can be used by WriteText(StyledText, bool).
Enums
Canvas.CheckGlyphStyle
The possible shapes used by the check.
Canvas.FillStyle
The types fills.
Canvas.GlyphSize
Describes the size of a glyph.
Canvas.GradientGlyphStyle
The gradient style.
Canvas.LineStyle
The possible line styles used in Line(PointF, float, Orientation, LineStyle, Style).
Canvas.Orientation
Describes the available text orientations.
Canvas.ShadeGlyphStyle
The types of possible shades.
Canvas.TriangleGlyphStyle
Describes the orientation of a glyph.
CaretMode
Defines the caret mode.
ClearStrategy
Defines the possible strategies of clearing contents of a window.
ColorMode
Defines the color mode of the terminal.
EventType
Defines the possible event types.
Key
Defines the possible key types.
ModifierKey
Defines the possible modifier keys.
MouseButton
Defines the possible mouse buttons.
MouseButtonState
Defines the possible mouse button states.
ReplaceStrategy
Defines the possible strategies or replacing the contents of a window with the contents of another window.
SoftLabelKeyAlignment
Defines the alignment of labels in a SoftLabelKeyManager.
SoftLabelKeyMode
Defines the possible strategies of clearing contents of a window.
StandardColor
Defines the well-known standard video colors.
VideoAttribute
Defines the possible video attributes.
Delegates
ResolveEscapeSequenceFunc
Defines the next delegate used to resolve key sequences.