Skip to content

Commit

Permalink
Add user_input example (Fixes #8)
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindberg committed Dec 12, 2022
1 parent 6e340f3 commit 107e12a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions demo/src/scala/tui/demo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ object demo {
"block" -> tui.examples.block.Main.main,
"canvas" -> tui.examples.canvas.Main.main,
"chart" -> tui.examples.chart.Main.main,
"custom_widget" -> tui.examples.custom_widget.Main.main,
"gauge" -> tui.examples.gauge.Main.main,
"layout" -> tui.examples.layout.Main.main,
"list" -> tui.examples.list.App.main,
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ you may rely on `crossterm` achieve such features.
The library comes with a bunch of widgets: here is some example code:

* [BarChart](https://github.com/oyvindberg/tui-rs/blob/master/examples/barchart.scala)
* [Block](https://github.com/oyvindberg/tui-rs/blob/master/examples/block.scala) (not ported yet)
* [Block](https://github.com/oyvindberg/tui-rs/blob/master/examples/block.scala)
* [Canvas (with line, point cloud, world map)](https://github.com/oyvindberg/tui-rs/blob/master/examples/canvas.scala)
* [Chart](https://github.com/oyvindberg/tui-rs/blob/master/examples/chart.scala)
* [Custom widget](https://github.com/oyvindberg/tui-rs/blob/master/examples/custom_widget.scala)
* [Gauge](https://github.com/oyvindberg/tui-rs/blob/master/examples/gauge.scala)
* [Layout](https://github.com/oyvindberg/tui-rs/blob/master/examples/layout.scala)
* [List](https://github.com/oyvindberg/tui-rs/blob/master/examples/list.scala)
Expand Down
2 changes: 1 addition & 1 deletion submodules/tui-rs

0 comments on commit 107e12a

Please sign in to comment.