Commit Graph

4 Commits (3c09c77269d848f5e7dd8f350a90e8d7ed760845)

Author SHA1 Message Date
Bart 3c09c77269
Fix deprecations of ioutil (#3370) 11 months ago
Junegunn Choi b88eb72ac2
Modernize build tags 2 years ago
Junegunn Choi f84b3de24b
Automatically set /dev/tty as STDIN on execute action
https://github.com/junegunn/fzf/issues/1360#issuecomment-788178140

  # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal"
  ls | fzf --bind "enter:execute(vim {} < /dev/tty)"

  # With this change, we can omit "< /dev/tty" part
  ls | fzf --bind "enter:execute(vim {})"
3 years ago
Junegunn Choi 9e753a0d44
Implement ttyname() in case /dev/tty is not available
Close #1266
Close #447
6 years ago