|
|
@ -47,8 +47,8 @@ cargo run --example demo --no-default-features --features=termion --release -- -
|
|
|
|
|
|
|
|
|
|
|
|
where `tick-rate` is the UI refresh rate in ms.
|
|
|
|
where `tick-rate` is the UI refresh rate in ms.
|
|
|
|
|
|
|
|
|
|
|
|
The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/demo/ui.rs) while the
|
|
|
|
The UI code is in [examples/demo/ui.rs](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/demo/ui.rs) while the
|
|
|
|
application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/demo/app.rs).
|
|
|
|
application state is in [examples/demo/app.rs](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/demo/app.rs).
|
|
|
|
|
|
|
|
|
|
|
|
If the user interface contains glyphs that are not displayed correctly by your terminal, you may want to run
|
|
|
|
If the user interface contains glyphs that are not displayed correctly by your terminal, you may want to run
|
|
|
|
the demo without those symbols:
|
|
|
|
the demo without those symbols:
|
|
|
@ -61,16 +61,16 @@ cargo run --example demo --release -- --tick-rate 200 --enhanced-graphics false
|
|
|
|
|
|
|
|
|
|
|
|
The library comes with the following list of widgets:
|
|
|
|
The library comes with the following list of widgets:
|
|
|
|
|
|
|
|
|
|
|
|
* [Block](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/block.rs)
|
|
|
|
* [Block](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/block.rs)
|
|
|
|
* [Gauge](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/gauge.rs)
|
|
|
|
* [Gauge](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/gauge.rs)
|
|
|
|
* [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/sparkline.rs)
|
|
|
|
* [Sparkline](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/sparkline.rs)
|
|
|
|
* [Chart](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/chart.rs)
|
|
|
|
* [Chart](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/chart.rs)
|
|
|
|
* [BarChart](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/barchart.rs)
|
|
|
|
* [BarChart](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/barchart.rs)
|
|
|
|
* [List](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/list.rs)
|
|
|
|
* [List](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/list.rs)
|
|
|
|
* [Table](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/table.rs)
|
|
|
|
* [Table](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/table.rs)
|
|
|
|
* [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/paragraph.rs)
|
|
|
|
* [Paragraph](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/paragraph.rs)
|
|
|
|
* [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/canvas.rs)
|
|
|
|
* [Canvas (with line, point cloud, map)](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/canvas.rs)
|
|
|
|
* [Tabs](https://github.com/fdehau/tui-rs/blob/v0.18.0/examples/tabs.rs)
|
|
|
|
* [Tabs](https://github.com/fdehau/tui-rs/blob/v0.19.0/examples/tabs.rs)
|
|
|
|
|
|
|
|
|
|
|
|
Click on each item to see the source of the example. Run the examples with with
|
|
|
|
Click on each item to see the source of the example. Run the examples with with
|
|
|
|
cargo (e.g. to run the gauge example `cargo run --example gauge`), and quit by pressing `q`.
|
|
|
|
cargo (e.g. to run the gauge example `cargo run --example gauge`), and quit by pressing `q`.
|
|
|
|