ingydotnet / git-hub

Do GitHub operations from the `git` command
MIT License
794 stars 62 forks source link

basic auth prompt not working #227

Open perlpunk opened 8 years ago

perlpunk commented 8 years ago

I can't enter my password when using the command tokens, for example. It (curl) prompts for my password, but when I enter one character, it stops, and outputs nothing.

% git hub tokens
Enter host password for user 'perlpunk':<one character>
%

If I run the curl command manually, I can enter my password as expected.

perlpunk commented 8 years ago

this seems to be caused by piping to less and can be reproduced by this:

% curl --request GET https://api.github.com/authorizations -u github-username | less

I'm using curl 7.38.0