Skip to content
Myr

Make server channel buffered

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

Not to block an action that calls the API fzf --listen 6266 --bind 'space:execute-silent:curl localhost:6266 -d up'

authored by Junegunn Choi · committed by Junegunn Choi · parent 36d2bb3 · 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
600 unmodified lines
601 slab: util.MakeSlab(slab16Size, slab32Size),602 theme: opts.Theme,603 startChan: make(chan fitpad, 1),604 killChan: make(chan int),605 serverChan: make(chan []*action),605 serverChan: make(chan []*action, 10),606 tui: renderer,607 initFunc: func() { renderer.Init() },608 executing: util.NewAtomicBool(false)}609 t.prompt, t.promptLen = t.parsePrompt(opts.Prompt)
2622 unmodified lines