Skip to content
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

termios.error: (19, 'Operation not supported by device') #71

Open
Emasoft opened this issue Jan 12, 2023 · 0 comments
Open

termios.error: (19, 'Operation not supported by device') #71

Emasoft opened this issue Jan 12, 2023 · 0 comments

Comments

@Emasoft
Copy link

Emasoft commented Jan 12, 2023

It gives me the following error:

[~cloud/Picotui]$ python example_widgets.py
Traceback (most recent call last):
  File "/private/var/mobile/Library/Mobile Documents/iCloud~AsheKube~app~a-Shell/Documents/Picotui/example_widgets.py", line 7, in <module>
    with Context():
  File "/var/mobile/Containers/Data/Application/D0804BBC-49FD-4101-8C2D-E0B2EBD81738/Library/lib/python3.11/site-packages/picotui/context.py", line 11, in __enter__
    Screen.init_tty()
  File "/var/mobile/Containers/Data/Application/D0804BBC-49FD-4101-8C2D-E0B2EBD81738/Library/lib/python3.11/site-packages/picotui/screen.py", line 122, in init_tty
    cls.org_termios = termios.tcgetattr(0)
                      ^^^^^^^^^^^^^^^^^^^^
termios.error: (19, 'Operation not supported by device')
[~cloud/Picotui]$ 

Other TUI libs, like Rich, work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant