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:
@@ -30,7 +30,7 @@ type InputState struct {
|
||||
}
|
||||
|
||||
func NewInputBox() InputState {
|
||||
input := textinput.NewModel()
|
||||
input := textinput.New()
|
||||
input.Placeholder = "Send a message..."
|
||||
input.Focus()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user