Sha256: 21fc0899a589625f74dc353c57221ce63fc984cdad4e0dac307b61951773e068

Contents?: true

Size: 446 Bytes

Versions: 87

Compression:

Stored size: 446 Bytes

Contents

// +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) + "'"
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
doing-2.1.1pre lib/helpers/fzf/src/terminal_unix.go
doing-2.1.0pre lib/helpers/fzf/src/terminal_unix.go
doing-2.0.25 lib/helpers/fzf/src/terminal_unix.go
doing-2.0.24 lib/helpers/fzf/src/terminal_unix.go
doing-2.0.23 lib/helpers/fzf/src/terminal_unix.go
doing-2.0.22 lib/helpers/fzf/src/terminal_unix.go
doing-2.0.21 lib/helpers/fzf/src/terminal_unix.go