mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-02 03:58:30 +00:00
Skip merging nth offsets when unnecessary
This commit is contained in:
parent
3e7f032ec2
commit
938c15ec63
@ -2722,7 +2722,7 @@ func (t *Terminal) printHighlighted(result Result, colBase tui.ColorPair, colMat
|
|||||||
sort.Sort(ByOrder(charOffsets))
|
sort.Sort(ByOrder(charOffsets))
|
||||||
}
|
}
|
||||||
var nthOffsets []Offset
|
var nthOffsets []Offset
|
||||||
if len(t.nth) > 0 && postTask != nil {
|
if len(t.nthCurrent) > 0 && t.nthAttr > 0 && postTask != nil {
|
||||||
var tokens []Token
|
var tokens []Token
|
||||||
if item.transformed != nil {
|
if item.transformed != nil {
|
||||||
tokens = item.transformed.tokens
|
tokens = item.transformed.tokens
|
||||||
|
Loading…
x
Reference in New Issue
Block a user