skip reading from stdin when it's a tty
commit4e0a7d96bf944979d6eea3fc764dce1bb18779a2
authorJoey Hess <joeyh@joeyh.name>
Thu, 4 Feb 2021 20:29:08 +0000 (4 16:29 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 4 Feb 2021 20:29:08 +0000 (4 16:29 -0400)
tree2b593bd071b0275a67a80a21dbc36181f7cb4c5c
parent54cb31ec6086f9db1c5f76ff2a1017cf272b320a
skip reading from stdin when it's a tty

vipe: When no output is piped into vipe, and stdin is connected to the
terminal, don't read from stdin before opening the editor. This allows eg:
vipe | command Thanks, Florian Pensec
debian/changelog
vipe