gitty
gitty copied to clipboard
Optional Links
Resolves #32
This PR looks for a non-empty environment variable called GITTY_LINKS
to determine whether to print hyperlinks in the terminal.
One thing I noticed is the longer link for branch names (and probably things like numbers, but I think those might be less common unless a repo is on the edge of new index numbers) I could do some width-checking shenanigans, but I (personally) didn't think it would be worth the extra code checking.
I think the workflow error is because I've updated some deps that may require go 1.17 because of build tag changes. I've update to 1.17 in this PR if that's okay with you.
Looks like rivo/uniseg
update would require Go 1.18, so I've updated accordingly.
Looks like
rivo/uniseg
update would require Go 1.18, so I've updated accordingly.
You're right, already noticed that in other projects as well. Will try this out asap, thanks for the contribution!