-
Notifications
You must be signed in to change notification settings - Fork 710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Input is not to a terminal (fd=0) error (within git hook) #1030
Comments
Not an expert on |
Hi halloleo, I have a tty connected, i.e. |
|
ah i see, thanks for the info. On a related note, I tried a simpler version of autocomplete with the |
Hello,
I am trying to use prompt_toolkit within a git hook (prepare-commit-msg). I get this warning - Input is not to a terminal (fd=0) I would appreciate any pointers on how to solve this.
I am using python 3.7.5.
prompt_toolkit.__version__ = '2.0.10'
screenshot of the errors that follow -
![prompt_toolkit_fail_githook](https://user-images.githubusercontent.com/15365471/70848413-146ffd00-1e97-11ea-9f9d-68ab101c22ad.png)
The text was updated successfully, but these errors were encountered: