Update dependencies and Go version

This commit is contained in:
Tulir Asokan
2022-11-13 15:28:04 +02:00
parent 26b3c51053
commit 886690f98f
4 changed files with 56 additions and 44 deletions

View File

@ -79,7 +79,7 @@ func AdjustStyleBackgroundColor(color tcell.Color) AdjustStyleFunc {
func AdjustStyleLink(url, id string) AdjustStyleFunc {
return func(style tcell.Style) tcell.Style {
return style.Hyperlink(url, id)
return style.Url(url).UrlId(id)
}
}