mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Simplify nth comparison when reusing transformed tokens
This commit is contained in:
@@ -8,9 +8,9 @@ import (
|
||||
|
||||
type transformed struct {
|
||||
// Because nth can be changed dynamically by change-nth action, we need to
|
||||
// keep the nth value at the time of transformation.
|
||||
nth []Range
|
||||
tokens []Token
|
||||
// keep the revision number at the time of transformation.
|
||||
revision int
|
||||
tokens []Token
|
||||
}
|
||||
|
||||
// Item represents each input line. 56 bytes.
|
||||
|
||||
Reference in New Issue
Block a user