Skip to content
Myr

Fix rendering of multiple OSC 8 links in a single line

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix #4517

authored by Junegunn Choi · committed by Junegunn Choi · parent a0a334f · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
3628 unmodified lines
3629 var url *url3630 for _, offset := range offsets {3631 b := util.Constrain32(offset.offset[0], index, maxOffset)3632 e := util.Constrain32(offset.offset[1], index, maxOffset)3633 if url != nil && offset.url == nil {3633 if url != nil && offset.url != url {3634 url = nil3635 window.LinkEnd()3636 }3637
3403 unmodified lines