From c26d11299aae937e081f5d53a26ba049a2dad34a Mon Sep 17 00:00:00 2001 From: abs3nt Date: Wed, 21 Feb 2024 22:13:09 -0800 Subject: [PATCH] make border full terminal size --- src/components/tui/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/tui/main.go b/src/components/tui/main.go index b79971d..b8431e7 100644 --- a/src/components/tui/main.go +++ b/src/components/tui/main.go @@ -859,6 +859,7 @@ func (m *mainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case tea.WindowSizeMsg: h, v := DocStyle.GetFrameSize() m.list.SetSize(msg.Width-h, msg.Height-v-1) + DocStyle.Width(msg.Width - h) } // return