|
|
|
@ -51,7 +51,7 @@ func getMessageCounts(m mainModel) (int, int, int) {
|
|
|
|
|
func chatModelInit() chatModel {
|
|
|
|
|
input := textinput.NewModel()
|
|
|
|
|
input.Placeholder = "Enter a chat message"
|
|
|
|
|
input.CharLimit = 64
|
|
|
|
|
input.CharLimit = 256
|
|
|
|
|
input.Focus()
|
|
|
|
|
return chatModel{0, input}
|
|
|
|
|
}
|
|
|
|
|