This commit is contained in:
parent
c1d4a0b5e0
commit
c26d11299a
@ -859,6 +859,7 @@ func (m *mainModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
case tea.WindowSizeMsg:
|
case tea.WindowSizeMsg:
|
||||||
h, v := DocStyle.GetFrameSize()
|
h, v := DocStyle.GetFrameSize()
|
||||||
m.list.SetSize(msg.Width-h, msg.Height-v-1)
|
m.list.SetSize(msg.Width-h, msg.Height-v-1)
|
||||||
|
DocStyle.Width(msg.Width - h)
|
||||||
}
|
}
|
||||||
|
|
||||||
// return
|
// return
|
||||||
|
Loading…
Reference in New Issue
Block a user