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.65 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.64 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.63 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.62 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.61 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.60 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.58 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.57 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.56 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.55 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.54 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.52 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.49 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.48 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.47 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.46 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.45 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.44 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.43 lib/helpers/fzf/src/terminal_unix.go
doing-2.1.42 lib/helpers/fzf/src/terminal_unix.go