mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-29 11:23:50 -07:00
Change transform action to directly execute actions
To avoid filling up input channel for HTTP server
This commit is contained in:
@@ -3379,7 +3379,7 @@ func (t *Terminal) Loop() {
|
|||||||
case actTransform:
|
case actTransform:
|
||||||
body := t.executeCommand(a.a, false, true, true, false)
|
body := t.executeCommand(a.a, false, true, true, false)
|
||||||
actions := parseSingleActionList(strings.Trim(body, "\r\n"), func(message string) {})
|
actions := parseSingleActionList(strings.Trim(body, "\r\n"), func(message string) {})
|
||||||
t.serverInputChan <- actions
|
return doActions(actions)
|
||||||
case actTransformBorderLabel:
|
case actTransformBorderLabel:
|
||||||
if t.border != nil {
|
if t.border != nil {
|
||||||
label := t.executeCommand(a.a, false, true, true, true)
|
label := t.executeCommand(a.a, false, true, true, true)
|
||||||
|
Reference in New Issue
Block a user