Skip to content
Myr

Remove unnecessary ANSI code injection

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 1a6defd · 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/core.go+1 added-1 removed
100 unmodified lines
101 })102 } else {103 chunkList = NewChunkList(func(item *Item, data []byte) bool {104 tokens := Tokenize(string(data), opts.Delimiter)105 if opts.Ansi && len(tokens) > 1 {105 if opts.Ansi && opts.Theme != nil && len(tokens) > 1 {106 var ansiState *ansiState107 if prevLineAnsiState != nil {108 ansiStateDup := *prevLineAnsiState109 ansiState = &ansiStateDup
194 unmodified lines