Source File
display_unix.go
Belonging Package
github.com/reeflective/readline/internal/display
//go:build unix// +build unixpackage displayimport ()// WatchResize redisplays the interface on terminal resize events.func ( *Engine) chan<- bool {:= make(chan bool, 1):= make(chan os.Signal, 1)signal.Notify(, syscall.SIGWINCH)go func() {for {select {case <-:.completer.GenerateCached().Refresh()case <-:return}}}()return}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |