mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Migrate from NewModel() to New() in examples for Bubbles-related stuff
This commit is contained in:
@@ -38,7 +38,7 @@ func initialModel() model {
|
||||
|
||||
var t textinput.Model
|
||||
for i := range m.inputs {
|
||||
t = textinput.NewModel()
|
||||
t = textinput.New()
|
||||
t.CursorStyle = cursorStyle
|
||||
t.CharLimit = 32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user