mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2025-02-13 17:38:54 +00:00
Make server channel buffered
Not to block an action that calls the API fzf --listen 6266 --bind 'space:execute-silent:curl localhost:6266 -d up'
This commit is contained in:
parent
36d2bb332b
commit
44b6336372
@ -602,7 +602,7 @@ func NewTerminal(opts *Options, eventBox *util.EventBox) *Terminal {
|
||||
theme: opts.Theme,
|
||||
startChan: make(chan fitpad, 1),
|
||||
killChan: make(chan int),
|
||||
serverChan: make(chan []*action),
|
||||
serverChan: make(chan []*action, 10),
|
||||
tui: renderer,
|
||||
initFunc: func() { renderer.Init() },
|
||||
executing: util.NewAtomicBool(false)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user