From eac9e1ad0961eabe622037551275c0880bc22e1c Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 29 Jan 2025 16:21:40 +0200 Subject: Pressing enter will now properly update the border of viminput --- internal/client/ui/core/chat/chat.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/client/ui/core') diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index c6c517e..5dda710 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -316,6 +316,8 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { m.SetIndex(Unselected) case "enter": if !m.vi.Inactive() { + m.borderStyle = ViFocusedBorder + m.style = focusStyle m.locked = true m.vi.SetMode(viminput.InsertMode) m.base = SnapToBottom -- cgit v1.3.1