Skip to content

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

Merged
stefanhaller merged 1 commit intomasterfrom
fix-hyperlinks-in-last-line-of-view
Apr 8, 2025
Merged

Render hyperlinks in last line of view if it doesn't end with a line feed#77
stefanhaller merged 1 commit intomasterfrom
fix-hyperlinks-in-last-line-of-view

Conversation

@stefanhaller
Copy link
Copy Markdown
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