Cargo Features
[dependencies]
ratatui-crossterm = { version = "0.1.0-alpha.0", default-features = false, features = ["underline-color", "scrolling-regions", "unstable", "unstable-backend-writer", "document-features"] }
- default = underline-color
-
The
underline-color
feature is set by default wheneverratatui-crossterm
is added without
somewhere in the dependency tree.default-features = false - underline-color default
-
enables the backend code that sets the underline color. Underline color is only supported by the
CrosstermBackend
backend, and is not supported on Windows 7.Enables underline-color of ratatui-core
- scrolling-regions
-
Use terminal scrolling regions to make Terminal::insert_before less prone to flickering.
Enables scrolling-regions of ratatui-core
- unstable = unstable-backend-writer
-
The following features are unstable and may change in the future:
Enable all unstable features. - unstable-backend-writer unstable?
-
Enables getting access to backends' writers.
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml