Skip to content

Commit

Permalink
make border full terminal size
Browse files Browse the repository at this point in the history
  • Loading branch information
abs3nt committed Feb 22, 2024
1 parent c1d4a0b commit c26d112
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/tui/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c26d112

Please sign in to comment.