Change transform action to directly execute actions

To avoid filling up input channel for HTTP server
This commit is contained in:
Junegunn Choi 2023-12-26 10:15:53 +09:00
parent 1707b8cdba
commit cd114c6818
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627
1 changed files with 1 additions and 1 deletions

View File

@ -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)