Cargo Features
[dependencies]
tui-textarea = { version = "0.4.0", default-features = false, features = ["ratatui", "crossterm", "termion", "termwiz", "no-backend", "tuirs", "tuirs-crossterm", "tuirs-termion", "tuirs-no-backend", "search", "arbitrary"] }
- default = crossterm
-
The
crossterm
feature is set by default whenevertui-textarea
is added without
somewhere in the dependency tree.default-features = false - ratatui crossterm no-backend? termion? termwiz?
-
Features to use ratatui
Enables ratatui
- crossterm default = ratatui
-
Enables crossterm and crossterm of ratatui
ratatui:
Generally an application will only use one backend, so you should only enable one of the following features: enables the
CrosstermBackend
backend and adds a dependency on the [Crossterm crate]. - termion = ratatui
-
Enables termion ^2.0 and termion of ratatui
ratatui:
enables the
TermionBackend
backend and adds a dependency on the [Termion crate]. - termwiz = ratatui
-
Enables termwiz ^0.20.0 and termwiz of ratatui
ratatui:
enables the
TermwizBackend
backend and adds a dependency on the [Termwiz crate]. - no-backend = ratatui
- tuirs tuirs-crossterm? tuirs-no-backend? tuirs-termion?
-
Features to use tui-rs
Enables tui
- tuirs-crossterm = tuirs
-
Enables crossterm ^0.25, crossterm of tui
- tuirs-termion = tuirs
-
Enables termion ^2.0, termion of tui
- tuirs-no-backend = tuirs
- search
-
Other optional features
Enables regex