Skip to content
Myr

Skip merging nth offsets when unnecessary

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

authored by Junegunn Choi · committed by Junegunn Choi · parent 3e7f032 · 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
2720 unmodified lines
2721 }2722 sort.Sort(ByOrder(charOffsets))2723 }2724 var nthOffsets []Offset2725 if len(t.nth) > 0 && postTask != nil {2725 if len(t.nthCurrent) > 0 && t.nthAttr > 0 && postTask != nil {2726 var tokens []Token2727 if item.transformed != nil {2728 tokens = item.transformed.tokens2729 } else {
3108 unmodified lines