diff options
Diffstat (limited to 'internal/client/ui/core/chat/chat.go')
| -rw-r--r-- | internal/client/ui/core/chat/chat.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index 04eedb7..a93272f 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -23,7 +23,7 @@ func New() Model { return lineNumber + " ┃ " } - vi.SetLines(viminput.Line("test"), viminput.Line("best")) + vi.SetLines([]rune("test"), []rune("best")) // ta.Cursor.SetChar() // vi.CharLimit = 280 @@ -54,8 +54,10 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { func (m *Model) Focus() { m.focus = true + m.vi.Focus() } func (m *Model) Blur() { m.focus = false + m.vi.Blur() } |
