mirror of
https://github.com/junegunn/fzf.git
synced 2026-10-07 04:34:41 +08:00
Allow bare put action in transform output
transform/bg-transform now permit bare `put`, inserting the key that triggered the action (`a:transform:echo put` puts `a`).
This commit is contained in:
6 files changed
+33
-9
No files matched your search
+1
-1
@@ -240,7 +240,7 @@ Loop:
|
||||
}
|
||||
body = body[:contentLength]
|
||||
|
||||
actions, err := parseSingleActionList(strings.Trim(string(body), "\r\n"))
|
||||
actions, err := parseSingleActionList(strings.Trim(string(body), "\r\n"), false)
|
||||
if err != nil {
|
||||
return bad(err.Error())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user