From c2ca65580d683ff983644f05681f22774263f13f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 18 Dec 2024 18:21:50 +0200 Subject: Removed line decorations from viminput --- internal/client/ui/core/chat/chat.go | 12 ------------ 1 file changed, 12 deletions(-) (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 181167f..463f65a 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -18,18 +18,6 @@ func New() Model { vi := viminput.New(90, 20) vi.Placeholder = "Send a message..." vi.PlaceholderStyle = lipgloss.NewStyle().Foreground(colors.Gray) - vi.LineDecoration = func(lnum int, m viminput.Model) string { - // lineNumberDecor := viminput.LineNumberDecoration(lipgloss.NewStyle()) - // lineNumber := lineNumberDecor(lnum, m) - // return lineNumber + " ┃ " - return "┃ " - } - - // ta.Cursor.SetChar() - - // vi.CharLimit = 280 - - // vi.Focus() return Model{ vi: vi, -- cgit v1.3.1