mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
fix: use .New() instead of the deprecated .NewModel() to init models
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ func NewLogin() State {
|
||||
|
||||
var t textinput.Model
|
||||
for i := range ls.Inputs {
|
||||
t = textinput.NewModel()
|
||||
t = textinput.New()
|
||||
t.CursorStyle = ui.CursorStyle
|
||||
t.Prompt = "| "
|
||||
|
||||
|
||||
Reference in New Issue
Block a user