holzschu / holzschu/a-Shell-commands
Click.getchar() throws a generator error
- Dominant language
- Shell
- Stars
- 823
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
After importing the click library, I found that I can not use the following click command.
click.getchar()
This is the trace error that is generated.
Traceback (most recent call last):
File "", line 1, in
File "/private/var/containers/Bundle/Application/DA63F4F7-4834-458A-9E07-40C97EFAE072/a-Shell.app/Library/lib/python3.9/site-p
ackages/click/termui.py", line 767, in getchar
return _getchar(echo)
File "/private/var/containers/Bundle/Application/DA63F4F7-4834-458A-9E07-40C97EFAE072/a-Shell.app/Library/lib/python3.9/site-p
ackages/click/_termui_impl.py", line 710, in getchar
with raw_terminal() as fd:
File "/private/var/containers/Bundle/Application/DA63F4F7-4834-458A-9E07-40C97EFAE072/a-Shell.app/Library/lib/python3.9/contex
tlib.py", line 119, in enter
raise RuntimeError("generator didn't yield") from None
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.