m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-16 07:13:48 -05:00

Fix rendering of multiple OSC 8 links in a single line

Fix #4517
This commit is contained in:
Junegunn Choi
2025-09-14 11:26:47 +09:00
parent a0a334fc8d
commit f5f894ea47

View File

@@ -3630,7 +3630,7 @@ func (t *Terminal) printColoredString(window tui.Window, text []rune, offsets []
for _, offset := range offsets { for _, offset := range offsets {
b := util.Constrain32(offset.offset[0], index, maxOffset) b := util.Constrain32(offset.offset[0], index, maxOffset)
e := util.Constrain32(offset.offset[1], index, maxOffset) e := util.Constrain32(offset.offset[1], index, maxOffset)
if url != nil && offset.url == nil { if url != nil && offset.url != url {
url = nil url = nil
window.LinkEnd() window.LinkEnd()
} }