fix: Always show commit details when commit hash is available
This commit is contained in:
parent
35207ba7ab
commit
e36d158cb4
2
gtm
2
gtm
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue