fix: Always show commit details when commit hash is available

This commit is contained in:
n loewen (aider) 2025-06-08 09:20:04 +01:00
parent 35207ba7ab
commit e36d158cb4
1 changed files with 1 additions and 1 deletions

2
gtm
View File

@ -919,7 +919,7 @@ def draw_main_status_line(stdscr, state: AppState, layout: StatusBarLayout):
def draw_commit_details(stdscr, state: AppState, layout: StatusBarLayout): def draw_commit_details(stdscr, state: AppState, layout: StatusBarLayout):
"""Draw commit hash, message, author in the available space""" """Draw commit hash, message, author in the available space"""
if not state.commit_hash or layout.total_height < 2: if not state.commit_hash:
return return
# Get the commit message (potentially multi-line) # Get the commit message (potentially multi-line)