Crate cursive_core
source ·Expand description
Re-exports§
Modules§
- Tools to control view alignment.
- Define the backend trait for actual terminal interaction.
- Output buffer
- Build views from configuration.
- Direction-related structures.
- User-input events and their effects.
- Logging utilities.
- Build menu trees.
- Re-export crates used in the public API
- Handle colors and styles in the UI.
- Theming support for a consistent UI.
- Commonly used traits bundled for easy import.
- Toolbox to make text layout easier.
- Points on the 2D character grid.
- Base elements required to build views.
- Various views to use when creating the layout.
Macros§
- Define a macro for a variable builder.
- Macro to wrap a
FnMut
with 1 argument into aFn
. - Macro to wrap a
FnMut
with 2 arguments into aFn
. - Macro to wrap a
FnMut
with 3 arguments into aFn
. - A macro to help with creating toggleable views.
- Implements the
Scroller
trait for any type. - Convenient macro to implement the getters for inner
View
inViewWrapper
. - Define a blueprint to manually build this view from a config file.
- Macro to wrap a
FnOnce
with 1 argument into aFnMut
. - Enter an element into the plugin registry corresponding to its type.
- Convenient macro to implement the
ViewWrapper
trait.
Structs§
- Central part of the cursive library.
- Event loop runner for a cursive instance.
- Represents a dump of everything from a
Cursive
instance. - Convenient interface to draw on a subset of the screen.
- A non-empty rectangle on the 2D grid.
- A generic structure with a value for each axis.
Traits§
- Generic trait to enable chainable API
Type Aliases§
- Convenient alias to the result of
Cursive::cb_sink
. - Identifies a screen in the cursive root.
Attribute Macros§
- Defines a blueprint for creating a view from config.
- Generate two helper functions to help working with cursive blueprints.