mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-14 00:49:04 +08:00
4 files changed
+22
-4
No files matched your search
+1
-3
@@ -1575,9 +1575,7 @@ func (t *Terminal) output() bool {
|
||||
}
|
||||
if t.acceptNth != nil {
|
||||
transform = func(item *Item) string {
|
||||
tokens := Tokenize(item.AsString(t.ansi), t.delimiter)
|
||||
transformed := t.acceptNth(tokens, item.Index())
|
||||
return StripLastDelimiter(transformed, t.delimiter)
|
||||
return item.acceptNth(t.ansi, t.delimiter, t.acceptNth)
|
||||
}
|
||||
}
|
||||
found := len(t.selected) > 0
|
||||
|
||||
Reference in new issue
Block a user