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

xterm input #2

Open
twinsant opened this issue Dec 19, 2022 · 1 comment
Open

xterm input #2

twinsant opened this issue Dec 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@twinsant
Copy link
Owner

todo

@twinsant twinsant added the enhancement New feature or request label Dec 19, 2022
@twinsant twinsant self-assigned this Dec 19, 2022
@pmp-p
Copy link

pmp-p commented Jan 20, 2023

hi, i had some success with nurses_2 which is fully async https://pygame-web.github.io/showroom/pythongit.html?-i#src/test_nurses2.py . Can even keep the repl working like javascript console while TUI application is running if using a different fd than stdin for raw input.

for builtin input() i had no other choice but to use "await input()" instead. http://pygame-web.github.io/showroom/pypad_git.html?-i#src/test_input.py but that's maybe because i don't use a worker thread.

nb: i've used C glue for those, for pyodide it would need to be in js and loaded on startup :(

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

No branches or pull requests

2 participants