Change transform action to directly execute actions

To avoid filling up input channel for HTTP server
pull/3557/head
Junegunn Choi 5 months ago
parent 1707b8cdba
commit cd114c6818
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -3379,7 +3379,7 @@ func (t *Terminal) Loop() {
case actTransform:
body := t.executeCommand(a.a, false, true, true, false)
actions := parseSingleActionList(strings.Trim(body, "\r\n"), func(message string) {})
t.serverInputChan <- actions
return doActions(actions)
case actTransformBorderLabel:
if t.border != nil {
label := t.executeCommand(a.a, false, true, true, true)

Loading…
Cancel
Save