Skip to content
Myr

Change transform action to directly execute actions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

To avoid filling up input channel for HTTP server

authored by Junegunn Choi · committed by Junegunn Choi · parent 1707b8c · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/terminal.go+1 added-1 removed
3377 unmodified lines
3378 }3379 case actTransform:3380 body := t.executeCommand(a.a, false, true, true, false)3381 actions := parseSingleActionList(strings.Trim(body, "\r\n"), func(message string) {})3382 t.serverInputChan <- actions3382 return doActions(actions)3383 case actTransformBorderLabel:3384 if t.border != nil {3385 label := t.executeCommand(a.a, false, true, true, true)3386 t.borderLabel, t.borderLabelLen = t.ansiLabelPrinter(label, &tui.ColBorderLabel, false)
713 unmodified lines