mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Set main views to underline hyperlinks only on mouse hover
Note that this doesn't only affect the diff views, which are the ones where we want this, but also the status view, where the plan was to keep them underlined always for better discoverability. We could make this configurable dynamically (by adding another flag to ViewUpdateOpts), but actually I think it's fine this way.
This commit is contained in:
parent
8d37f48744
commit
68c7f9840a
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ func (gui *Gui) createAllViews() error {
|
|||
view.Title = gui.c.Tr.DiffTitle
|
||||
view.Wrap = true
|
||||
view.IgnoreCarriageReturns = true
|
||||
view.UnderlineHyperLinksOnlyOnHover = true
|
||||
}
|
||||
|
||||
gui.Views.Staging.Title = gui.c.Tr.UnstagedChanges
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue