v0.3.0
- BREAKING CHANGE: Enable ratatui support by default instead of inactive tui-rs.
ratatui-
prefix is removed from allratatui-*
features.crossterm
,termion
, andtermwiz
features are for ratatui:# ratatui with crossterm backend tui-textarea = "0.3" # ratatui with termwiz backend tui-textarea = { version = "0.3", features = ["termwiz"], default-features = false } # ratatui with termion backend tui-textarea = { version = "0.3", features = ["termion"], default-features = false }
- Instead, features for tui-rs support are now prefixed with
tuirs-
:# tui-rs with crossterm backend tui-textarea = { version = "0.3", features = ["tuirs-crossterm"], default-features = false } # Use proper version of crossterm crossterm = "0.2.5"
- Examples and documents are now implemented and described with ratatui by default
- BREAKING CHANGE: Rename
your-backend
features tono-backend
. You need to update the feature names if you're using tui-textarea with your own backend. - Relax the restriction of ratatui crate dependency from
0.23.0
to>=0.23.0, <1
, which means 'v0.23.0 or later and earlier than v1'. The latest version of ratatui (v0.24.0) now works with tui-textarea (#36). - Enable
termwiz
andtermion
features on generating the API document. APIs to convert from input events of termwiz/termion totui_textarea::Input
are now listed in the document.
Previous Backend features table (v0.2.4):
crossterm | termion | termwiz | Your own backend | |
---|---|---|---|---|
tui-rs | crossterm (enabled by default) |
termion |
N/A | your-backend |
ratatui | ratatui-crossterm |
ratatui-termion |
ratatui-termwiz |
ratatui-your-backend |
New backend features table (v0.3.0):
crossterm | termion | termwiz | Your own backend | |
---|---|---|---|---|
tui-rs | tuirs-crossterm |
tuirs-termion |
N/A | tuirs-no-backend |
ratatui | crossterm (enabled by default) |
termion |
termwiz |
no-backend |