Merge pull request #996 from Demonthos/fix-dioxus-tui-widgets-link
Fix the link to tui widgets in the guide
This commit is contained in:
2 files changed
+2
-4
No files matched your search
@@ -15,7 +15,7 @@ Essentially, your renderer needs to process edits and generate events to update
|
|||||||
|
|
||||||
Internally, Dioxus handles the tree relationship, diffing, memory management, and the event system, leaving as little as possible required for renderers to implement themselves.
|
Internally, Dioxus handles the tree relationship, diffing, memory management, and the event system, leaving as little as possible required for renderers to implement themselves.
|
||||||
|
|
||||||
For reference, check out the [javascript interpreter](https://github.com/DioxusLabs/dioxus/tree/master/packages/interpreter) or [tui renderer](https://github.com/DioxusLabs/dioxus/tree/master/packages/tui) as a starting point for your custom renderer.
|
For reference, check out the [javascript interpreter](https://github.com/DioxusLabs/dioxus/tree/master/packages/interpreter) or [tui renderer](https://github.com/DioxusLabs/dioxus/tree/master/packages/dioxus-tui) as a starting point for your custom renderer.
|
||||||
|
|
||||||
## Templates
|
## Templates
|
||||||
|
|
||||||
|
|||||||
@@ -12,14 +12,12 @@ TUI support is currently quite experimental. But, if you're willing to venture i
|
|||||||
|
|
||||||
- It uses flexbox for the layout
|
- It uses flexbox for the layout
|
||||||
- It only supports a subset of the attributes and elements
|
- It only supports a subset of the attributes and elements
|
||||||
- Regular widgets will not work in the tui render, but the tui renderer has its own widget components that start with a capital letter. See the [widgets example](https://github.com/DioxusLabs/dioxus/blob/master/packages/tui/examples/widgets.rs)
|
- Regular widgets will not work in the tui render, but the tui renderer has its own widget components that start with a capital letter. See the [widgets example](https://github.com/DioxusLabs/dioxus/blob/master/packages/dioxus-tui/examples/widgets.rs)
|
||||||
- 1px is one character line height. Your regular CSS px does not translate
|
- 1px is one character line height. Your regular CSS px does not translate
|
||||||
- If your app panics, your terminal is wrecked. This will be fixed eventually
|
- If your app panics, your terminal is wrecked. This will be fixed eventually
|
||||||
|
|
||||||
|
|
||||||
## Getting Set up
|
## Getting Set up
|
||||||
|
|
||||||
|
|
||||||
Start by making a new package and adding Dioxus and the TUI renderer as dependancies.
|
Start by making a new package and adding Dioxus and the TUI renderer as dependancies.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
Reference in new issue
Block a user