make border full terminal size
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
abs3nt 2024-02-21 22:13:09 -08:00
parent c1d4a0b5e0
commit c26d11299a
Signed by: abs3nt
GPG Key ID: A7BD96A8BAB04C09
1 changed files with 1 additions and 0 deletions

View File

@ -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