ingydotnet/git-hub

basic auth prompt not working

perlpunk opened this issue · 1 comments

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.

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