diff options
Diffstat (limited to 'dot-oh-my-zsh/custom/plugins/fzf/src/terminal_unix.go')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/custom/plugins/fzf/src/terminal_unix.go | 26 |
2 files changed, 0 insertions, 26 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/custom/plugins/fzf/src/terminal_unix.go b/dot-oh-my-zsh/custom/plugins/fzf/src/terminal_unix.go deleted file mode 100644 index 4cee73b0..00000000 --- a/dot-oh-my-zsh/custom/plugins/fzf/src/terminal_unix.go +++ /dev/null @@ -1,26 +0,0 @@ -//go:build !windows - -package fzf - -import ( - "os" - "os/signal" - "strings" - "syscall" -) - -func notifyOnResize(resizeChan chan<- os.Signal) { - signal.Notify(resizeChan, syscall.SIGWINCH) -} - -func notifyStop(p *os.Process) { - p.Signal(syscall.SIGSTOP) -} - -func notifyOnCont(resizeChan chan<- os.Signal) { - signal.Notify(resizeChan, syscall.SIGCONT) -} - -func quoteEntry(entry string) string { - return "'" + strings.Replace(entry, "'", "'\\''", -1) + "'" -} |
