"Show offscreen command line at top of session" feature is cool but hides first line if `git log` output
Bug report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: Build 3.5.5
 - OS version: 15.0
 - Attach 
~/Library/Preferences/com.googlecode.iterm2.plisthere (drag-drop from finder into this window)- forgive me skipping this. i changed the plist file when trying to review its contents before attaching it here (with 
plutil -convert xml1 ~/Library/Preferences/com.googlecode.iterm2.plist, i didn't know its in-place). 
 - forgive me skipping this. i changed the plist file when trying to review its contents before attaching it here (with 
 - Attach a debug log, if possible.
 - Attach a screen capture video if it would make the reproduction steps clearer -- Screen_Recording_2024-10-03_at_14.18.10
 
PLEASE ATTACH YOUR PLIST FILE FOR BUG REPORTS! Seriously! I'll probably ask you for it if you don’t.
Detailed steps to reproduce the problem
- Enjoy the new "Show offscreen command line at top of session" option (it's cool & it's enabled by default)
 - run 
git log-- the last command isn't on the screen, since git log takes the whole terminal height - 
qto quit - run 
git logagain 
What happened
first line of git log output is covered with the command line
What should have happened
first line of git log output should be visible at least until i press q to quick the pager invoked by git log.
i want to be able to copy the commit hash that's on that first line!