Use the new styling API for CLI infra

This commit is contained in:
Kovid Goyal
2022-11-14 15:41:53 +05:30
parent 4a4500d56b
commit 249df69ac9
2 changed files with 18 additions and 37 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func (self *Context) UrlFunc(spec string) func(string, string) string {
p := prefix_for_spec(spec)
s := suffix_for_spec(spec)
return func(url string, text string) string {
return func(url, text string) string {
if !self.AllowEscapeCodes {
return text
}