Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render hyperlinks in last line of view if it doesn't end with a line feed #77

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

stefanhaller
Copy link
Collaborator

Previously we would render hyperlinks only when seeing a newline; but for some views, the last line doesn't end in a newline (e.g. lazygit's confirmation panels), so hyperlinks were never rendered in the last line for those.

…feed

Previously we would render hyperlinks only when seeing a newline; but for some
views, the last line doesn't end in a newline (e.g. lazygit's confirmation
panels), so hyperlinks were never rendered in the last line for those.
stefanhaller added a commit to jesseduffield/lazygit that referenced this pull request Apr 3, 2025
@stefanhaller stefanhaller merged commit 7f1bb92 into master Apr 8, 2025
1 check passed
@stefanhaller stefanhaller deleted the fix-hyperlinks-in-last-line-of-view branch April 8, 2025 14:02
stefanhaller added a commit to jesseduffield/lazygit that referenced this pull request Apr 8, 2025
This includes a fix to render hyperlinks in the last line of a view if it
doesn't end with a line feed; see
jesseduffield/gocui#77.
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.

2 participants