fzf's become hands lazysecrets its /dev/tty still non-blocking. Go can't poll /dev/tty on macOS, so it reads it directly, and the TUI's first read failed with "resource temporarily unavailable" (EAGAIN). lazysecrets now makes a terminal on stdin blocking before the TUI starts (Unix; nothing on Windows). Reviewed-on: #67 Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
6 lines
56 B
Go
6 lines
56 B
Go
//go:build !unix
|
|
|
|
package main
|
|
|
|
func blockingStdin() {}
|