diff --git a/style.go b/style.go index 2a92079d..98354c85 100644 --- a/style.go +++ b/style.go @@ -171,6 +171,6 @@ func (s Style) UrlId(id string) Style { bg: s.bg, attrs: s.attrs, url: s.url, - urlId: "id:" + id, + urlId: "id=" + id, } } diff --git a/terminfo/terminfo_test.go b/terminfo/terminfo_test.go index 962289ca..c159aaba 100644 --- a/terminfo/terminfo_test.go +++ b/terminfo/terminfo_test.go @@ -139,8 +139,8 @@ func TestStringParameter(t *testing.T) { if s != "\x1b]8;;https://example.org/test\x1b\\" { t.Errorf("Result string failed: %s", s) } - s = ti.TParm(ti.EnterUrl, "https://example.org/test", "id:1234") - if s != "\x1b]8;id:1234;https://example.org/test\x1b\\" { + s = ti.TParm(ti.EnterUrl, "https://example.org/test", "id=1234") + if s != "\x1b]8;id=1234;https://example.org/test\x1b\\" { t.Errorf("Result string failed: %s", s) } }