mirror of
https://github.com/fdehau/tui-rs.git
synced 2024-11-09 07:10:33 +00:00
Release v0.7.0
This commit is contained in:
parent
055af0f78a
commit
3abafc307c
32
CHANGELOG.md
32
CHANGELOG.md
@ -2,6 +2,38 @@
|
|||||||
|
|
||||||
## To be released
|
## To be released
|
||||||
|
|
||||||
|
## v0.7.0 - 2019-11-29
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
* Use `Constraint` instead of integers to specify the widths of the `Table`
|
||||||
|
widget's columns. This will allow more responsive tables.
|
||||||
|
|
||||||
|
```rust
|
||||||
|
Table::new(header, row)
|
||||||
|
.widths(&[15, 15, 10])
|
||||||
|
.render(f, chunk);
|
||||||
|
```
|
||||||
|
|
||||||
|
becomes:
|
||||||
|
|
||||||
|
```rust
|
||||||
|
Table::new(header, row)
|
||||||
|
.widths(&[
|
||||||
|
Constraint::Length(15),
|
||||||
|
Constraint::Length(15),
|
||||||
|
Constraint::Length(10),
|
||||||
|
])
|
||||||
|
.render(f, chunk);
|
||||||
|
```
|
||||||
|
|
||||||
|
* Bump crossterm to 0.13.
|
||||||
|
* Use Github Actions for CI (Travis and Azure Pipelines integrations have been deleted).
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
* Add support for horizontal and vertical margins in `Layout`.
|
||||||
|
|
||||||
## v0.6.2 - 2019-07-16
|
## v0.6.2 - 2019-07-16
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tui"
|
name = "tui"
|
||||||
version = "0.6.2"
|
version = "0.7.0"
|
||||||
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
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
//!
|
//!
|
||||||
//! ```toml
|
//! ```toml
|
||||||
//! [dependencies]
|
//! [dependencies]
|
||||||
//! tui = "0.6"
|
//! tui = "0.7"
|
||||||
//! termion = "1.5"
|
//! termion = "1.5"
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
@ -21,7 +21,7 @@
|
|||||||
//! rustbox = "0.11"
|
//! rustbox = "0.11"
|
||||||
//!
|
//!
|
||||||
//! [dependencies.tui]
|
//! [dependencies.tui]
|
||||||
//! version = "0.6"
|
//! version = "0.7"
|
||||||
//! default-features = false
|
//! default-features = false
|
||||||
//! features = ['rustbox']
|
//! features = ['rustbox']
|
||||||
//! ```
|
//! ```
|
||||||
|
Loading…
Reference in New Issue
Block a user