readme update
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# osui
|
# osui
|
||||||
A Component-based TUI library written in go!
|
A Component-based TUI library written in go!
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
@@ -11,12 +13,13 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
app := ui.Div(
|
||||||
|
ui.Text("Hello, World!")
|
||||||
|
)
|
||||||
|
|
||||||
app := ui.Div(
|
screen := osui.NewScreen(app)
|
||||||
ui.Text("Hello, World!")
|
screen.Run()
|
||||||
)
|
|
||||||
|
|
||||||
screen := osui.NewScreen(app)
|
|
||||||
screen.Run()
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# [Documentation](https://github.com/orus-dev/osui/wiki)
|
||||||
Reference in New Issue
Block a user