rendering and input

This commit is contained in:
2024-09-22 22:59:57 +02:00
parent c017eb24f4
commit 04262bcec6
6 changed files with 267 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
package ui
import (
"github.com/orus-dev/osui"
)
func InputBox(max_size uint) *osui.ComponentWrapper {
return osui.NewComponent(ComponentInputBox{max_size: max_size})
}
func Text(text string) *osui.ComponentWrapper {
return osui.NewComponent(ComponentText{Text: text})
}