Skip to content

Conversation

@IdrisGit
Copy link

PR Description

Fixed visual annoyance on larger screens where commit description panel is much wider than the text wrapping width, leaving empty space on the right side.

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Screenshots

Wide Terminal

before:
lazygit_fullscreen

after fix:
lazygit_fix_fullscreen

Narrow/Small Terminal

before:
lazygit_smallscreen

after fix:
lazygit_fix_smallscreen

Prevents visual annoyance where commit description panel is much wider
than the text wrapping width, leaving empty space on the right side.

Panel width is now min(screen_width_ratio, AutoWrapWidth + 2) to
maintain proper proportions while respecting user's wrap width setting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant