fix: tui height
This commit is contained in:
@@ -196,7 +196,7 @@ func (a appModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
|||||||
return a.updateAllPages(msg)
|
return a.updateAllPages(msg)
|
||||||
|
|
||||||
case tea.WindowSizeMsg:
|
case tea.WindowSizeMsg:
|
||||||
msg.Height -= 1 // Make space for the status bar
|
msg.Height -= 2 // Make space for the status bar
|
||||||
a.width, a.height = msg.Width, msg.Height
|
a.width, a.height = msg.Width, msg.Height
|
||||||
|
|
||||||
s, _ := a.status.Update(msg)
|
s, _ := a.status.Update(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user