mirror of
https://github.com/ratatui/ratatui.git
synced 2025-10-02 15:25:54 +00:00
Release v0.3.0-beta.2
This commit is contained in:
parent
d8e5f57d53
commit
a99fc115f8
26
CHANGELOG.md
26
CHANGELOG.md
@ -2,6 +2,32 @@
|
|||||||
|
|
||||||
## To be released
|
## To be released
|
||||||
|
|
||||||
|
## v0.3.2-beta.2 - 2018-09-23
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Remove custom `termion` backends. This is motivated by the fact that
|
||||||
|
`termion` structs are meant to be combined/wrapped to provide additional
|
||||||
|
functionalities to the terminal (e.g AlternateScreen, Mouse support, ...).
|
||||||
|
Thus providing exclusive types do not make a lot of sense and give a false
|
||||||
|
hint that additional features cannot be used together. The recommended
|
||||||
|
approach is now to create your own version of `stdout`:
|
||||||
|
|
||||||
|
```rust
|
||||||
|
let stdout = io::stdout().into_raw_mode()?;
|
||||||
|
let stdout = MouseTerminal::from(stdout);
|
||||||
|
let stdout = AlternateScreen::from(stdout);
|
||||||
|
```
|
||||||
|
|
||||||
|
and then to create the corresponding `termion` backend:
|
||||||
|
|
||||||
|
```rust
|
||||||
|
let backend = TermionBackend::new(stdout);
|
||||||
|
```
|
||||||
|
|
||||||
|
The resulting code is more verbose but it works with all combinations of
|
||||||
|
additional `termion` features.
|
||||||
|
|
||||||
## v0.3.1-beta.1 - 2018-09-08
|
## v0.3.1-beta.1 - 2018-09-08
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tui"
|
name = "tui"
|
||||||
version = "0.3.0-beta.1"
|
version = "0.3.0-beta.2"
|
||||||
authors = ["Florian Dehau <work@fdehau.com>"]
|
authors = ["Florian Dehau <work@fdehau.com>"]
|
||||||
description = """
|
description = """
|
||||||
A library to build rich terminal user interfaces or dashboards
|
A library to build rich terminal user interfaces or dashboards
|
||||||
|
Loading…
x
Reference in New Issue
Block a user