diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-01-29 16:21:40 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-01-29 16:21:40 +0200 |
| commit | eac9e1ad0961eabe622037551275c0880bc22e1c (patch) | |
| tree | 86359b2f8825bd64b52672e05ba4d0b5feeac385 | |
| parent | 8c805499ece9cd32121e2a3366e86558609cfc50 (diff) | |
Pressing enter will now properly update the border of viminput
| -rw-r--r-- | internal/client/ui/core/chat/chat.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
