summaryrefslogtreecommitdiffstats
path: root/src/terminal_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal_unix.go')
-rw-r--r--src/terminal_unix.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/terminal_unix.go b/src/terminal_unix.go
new file mode 100644
index 00000000..6284c22d
--- /dev/null
+++ b/src/terminal_unix.go
@@ -0,0 +1,13 @@
+// +build !windows
+
+package fzf
+
+import (
+ "os"
+ "os/signal"
+ "syscall"
+)
+
+func notifyOnResize(resizeChan chan<- os.Signal) {
+ signal.Notify(resizeChan, syscall.SIGWINCH)
+}