Browse Source

fix: tui height

adamdottv 9 months ago
parent
commit
5d9058eb74
1 changed files with 1 additions and 1 deletions
  1. 1 1
      internal/tui/tui.go

+ 1 - 1
internal/tui/tui.go

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