mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Buffering channel with a size of 1
This commit is contained in:
parent
d8b0e1872f
commit
92837ca1cb
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ func waitForTerminalSpace() error {
|
|||
if width > 0 && height > 0 {
|
||||
return nil
|
||||
}
|
||||
winch := make(chan os.Signal)
|
||||
winch := make(chan os.Signal, 1)
|
||||
signal.Notify(winch, syscall.SIGWINCH)
|
||||
select {
|
||||
case <-winch:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue