2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-06 21:20:28 +00:00
fzf/src/terminal_unix.go
Junegunn Choi 0c573b3dff
Prepare for termbox/windows build
`TAGS=termbox make` (or `go build -tags termbox`)
2016-11-07 02:32:14 +09:00

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)
}