You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a terminal that doesn't do ANSI color and positioning, and I set TERM=dumb.
Running 'gh auth login' didn't go well:
% gh auth login
�7�[?25l�8�[0G�[2K�[0;1;92m? �[0m�[0;1;99mWhat account do you want to log into?�[0m �[0;36m[Use arrows to move, type to filter]�[0m
�[0;1;36m> GitHub.com�[0m
�[0;39m GitHub Enterprise Server�[0m
�7�[1A�[0G�[1A�[0G:q!
�8�[0G�[2K�[1A�[0G�[2K�[1A�[0G�[2K�[1A�[0G�[2K�[0;1;92m? �[0m�[0;1;99mWhat account do you want to log into? :�[0m �[0;36m[Use arrows to move, type to filter]�[0m
�7�8�[0G�[2K�[1A�[0G�[2K�[0;1;92m? �[0m�[0;1;99mWhat account do you want to log into? :q�[0m �[0;36m[Use arrows to move, type to filter]�[0m
�7�8�[0G�[2K�[1A�[0G�[2K�[0;1;92m? �[0m�[0;1;99mWhat account do you want to log into? :q!�[0m �[0;36m[Use arrows to move, type to filter]�[0m
�7��8�[0G�[2K�[1A�[0G�[2K�[1A�[0G�[2K�[0;1;92m? �[0m�[0;1;99mWhat account do you want to log into? :q�[0m �[0;36m[Use arrows to move, type to filter]�[0m
�7
When TERM=dumb, it should fall back to basic I/O.
The text was updated successfully, but these errors were encountered:
We believe that this might be a duplicate of #5721, so I'll be closing this out as such. However, we do recommend trying some combination of GH_PROMPT_DISABLED=1 and NO_COLOR=1 to see if that helps.
If you think that this is completely different though, feel free to reopen for further discussion.
Thanks! I confirm that NO_COLOR=1 GH_PROMPT_DISABLED=1 does fix those two commands. Not sure if there's other prompting that I will miss out on, but it's an improvement for sure. It would be nice to recognize TERM=dumb; that's the standard setting.
It would be nice to recognize TERM=dumb; that's the standard setting.
I think I can say the GitHub CLI team agrees and believe there is light at the end of the tunnel. The folks at charm have been working with the team as part of #8084 to address accessibility around prompting. The idea being we can address terminal capabilities along with accessibility concerns this quarter as we adopt https://github.com/charmbracelet/huh.
All of that to say, we always appreciate people working with us to put together a list of ideas to prioritize and work with the community to address! 🙇
I use a terminal that doesn't do ANSI color and positioning, and I set
TERM=dumb
.Running 'gh auth login' didn't go well:
When TERM=dumb, it should fall back to basic I/O.
The text was updated successfully, but these errors were encountered: