diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-26 10:15:53 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-12-26 10:15:53 +0900 |
commit | cd114c6818d4881173bd7b43cd26ffe803d31a1c (patch) | |
tree | 07e6e9a9fa30feda92d3cd68eaa22fadbe1ffa8c | |
parent | 1707b8cdba42492a88b3fc43c15c20d219c5ce2b (diff) |
Change transform action to directly execute actions
To avoid filling up input channel for HTTP server
-rw-r--r-- | src/terminal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.go b/src/terminal.go index 31339d3e..4a1d3ee4 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -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) |