mirror of
https://github.com/Llewellynvdm/fzf.git
synced 2024-11-17 02:25:14 +00:00
14 lines
173 B
Go
14 lines
173 B
Go
|
// +build !windows
|
||
|
|
||
|
package fzf
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"os/signal"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func notifyOnResize(resizeChan chan<- os.Signal) {
|
||
|
signal.Notify(resizeChan, syscall.SIGWINCH)
|
||
|
}
|