mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Print error message to stderr on unexpected exit
This commit is contained in:
@@ -241,7 +241,7 @@ func (r *LightRenderer) getBytesInternal(buffer []byte) []byte {
|
||||
c, ok := r.getch(false)
|
||||
if !ok {
|
||||
r.Close()
|
||||
errorExit()
|
||||
errorExit("Failed to read /dev/tty")
|
||||
}
|
||||
|
||||
retries := 0
|
||||
|
||||
Reference in New Issue
Block a user