summaryrefslogtreecommitdiff
path: root/src/tui/ttyname_windows.go
AgeCommit message (Collapse)Author
2025-04-20Add --tty-default=/dev/tty and --no-tty-default option (#4352)Junegunn Choi
Fix #4242. Use --no-tty-default, if you want fzf to perform a TTY look-up instead of defaulting to /dev/tty.
2025-01-17chore: fix comment (#4181)piguagua
Signed-off-by: piguagua <piguagua@aliyun.com>
2024-05-23execute: Open separate handles to /dev/tty (in, out, err)Junegunn Choi
# This will no longer cause 'Vim: Warning: Output is not to a terminal' fzf --bind 'enter:execute:vim {}' > /tmp/foo
2022-03-29Modernize build tagsJunegunn Choi
2021-03-25Automatically set /dev/tty as STDIN on execute actionJunegunn Choi
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 {})"
2018-04-25Implement ttyname() in case /dev/tty is not availableJunegunn Choi
Close #1266 Close #447